Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.1
-
None
-
WindowsXP/Tomcat5.5.17/Jre1.5.0_17
Description
In Struts Example-showcase, i found that the token example does not work well: in struts-token.xml, the tokenPrepare is defined as <action name="tokenPrepare!*" class="...TokenAction" method="
{1}"> ... <result name="input">example1.jsp</result> </action>; and in token/index.jsp, the link is <a href="tokenPrepare!input.action">...</a>; and in TokenAction class, defined method is execute and doInput; and in Dispatcher class, the method got from mapping is input.
So, the defined method doInput does not work, but the worked method is input.
I override the input method as:
public String input() throws Exception {
return doInput();
}