急!!!今晚就要!!!
<action
path="/SalaryShow"
type="com.soliton.app.web.SalaryShowAction"
scope="request"
parameter="method"
input="/pages/logon.jsp">
<forward name="success" path="/pages/salarylist.jsp"/>
<forward name="salaryShow" path="/pages/salarylist.jsp"/>
<forward name="salaryPieceShow" path="/pages/salaryPiecelist.jsp"/>
<forward name="failure" path="/pages/logon.jsp"/>
</action>
<action
path="/SalaryEditSubmit"
type="com.soliton.app.web.SalaryEditAction"
scope="request"
name="salaryEditForm"
validate="false"
input="/pages/salaryview.jsp">
<forward name="success" path="/SalaryShow.do"/>
<forward name="failure" path="/pages/logon.jsp"/>
</action>
出错提示:
type Status report
message DispatchMapping[/SalaryList] does not define a handler property
description The server encountered an internal error (DispatchMapping[/SalaryList] does not define a handler property) that prevented it from fulfilling this request.
我的意思是我在struts-config.xml中定义了/SalaryShow 其中parameter="method" ,然后在public class SalaryShowAction extends DispatchAction {...},我又定义了/SalaryEditSubmit, 我希望Edit成功以后能转到SalaryShow.do?method=salaryShow,我该如何做呀