日期:2014-05-18  浏览次数:20694 次

求教关于提交问题!!!
1,<form name="form1" method="post" action="jsp.do?method=myregist">
2, <action path="/jsp" type="com.person.info.action.UserInfoAction"  
  scope="request" parameter="method">  
  <forward name="useregistlist" path="/jsp/personshow.jsp"/>  
  </action>  

3,点击提交:报

HTTP Status 404 - /jsp.do

--------------------------------------------

type Status report

message /jsp.do

description The requested resource (/jsp.do) is not available.


--------------------------------------------

Apache Tomcat/5.5.9

求教各位!!!

------解决方案--------------------
404错误
找不到页面
看看struts配置是否有相应的action
------解决方案--------------------
1, <form name="form1" method="post" action="/jsp.do?method=myregist"> //此处加上/试试
2, <action path="/jsp" type="com.person.info.action.UserInfoAction"
scope="request" parameter="method">
<forward name="useregistlist" path="/jsp/personshow.jsp"/>
</action>