日期:2014-05-16  浏览次数:21223 次

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>

?