Struts2配置完,JSP的跳轉無法訪問??
加載完JSP頁面后控制臺出現這兩句話,
2016-08-28 22:50:58,289 WARN ?[CommonsLogger.java:60] : No configuration found for the specified action: 'product_save' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
2016-08-28 22:50:58,304 WARN ?[CommonsLogger.java:60] : No configuration found for the specified action: 'product_save' in namespace: '/'. Form action defaulting to 'action' attribute's literal value.
這是JSP的action路徑:
這是Struts2的配置:
這是整個項目的目錄:
這是JSP頁面:
點擊添加后的頁面:
2016-08-31
你商品價格輸入的是數字嗎?
2016-08-31
找到原因了嗎
2016-08-29
<s:form namespace="/Manage_ssh/"> ?試試
2016-08-29
<s:form namespace="/Manage_ssh/"> ?試試