`

No such accessible method: addForwardConfig() on object异常

 
阅读更多

<action-mappings>

   <action path="/login" className="struts.LoginAction" name="loginForm"
    input="index.jsp" validate="false">
    <forward name="ok" path="/ok.jsp"></forward>
   </action>

</action-mappings>

 

应该改为

<action-mappings>
   <action path="/login" type="struts.LoginAction" name="loginForm"
    input="index.jsp" validate="false">
    <forward name="ok" path="/ok.jsp"></forward>
   </action>

</action-mappings>

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics