81,092
社区成员
发帖
与我相关
我的任务
分享
<form action = "login.do" method = "post">(login.jsp中)
<action path = /login" type = "myLogin.loginAction" name = "loginForm" scope = "request" validate = "false" input = "/error.jsp" />(struts-config.xml中)
<form action = "goodsInsert.do" method = "post">
<action-mappings>
<action path = "/login" type = "myLogin.loginAction" name = "loginForm" scope = "request" validate = "false" input = "/error.jsp"/>
<action path = "/regist" type = "myLogin.registAction" name = "registForm" scope = "request" validate = "false" input = "/error.jsp">
</action>
<action path = "/managerWork/goodsInsert" type = "managerWork.goodsInsertAction" name = "goodsInsertForm" scope = "request" validate = "false" input = "/error.jsp">
<forward name = "goodsInsertFailed" path = "/loginFailed.jsp"/>
<forward name = "goodsInsertSuccessed" path = "/registSuccessed.jsp"/>
<forward name = "goodsCatInsert" path = "/goodsCatInsert.jsp"/>
</action>
</action-mappings>