当前位置: 代码迷 >> Access >> No such accessible method: addForwardConfig() on object错误
  详细解决方案

No such accessible method: addForwardConfig() on object错误

热度:2069   发布时间:2013-02-26 00:00:00.0
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>

?

  相关解决方案