struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown (JIRA)" <>
Subject [jira] Resolved: (WW-1568) TokenAction's doInput method don't work?
Date Wed, 20 Dec 2006 06:29:57 GMT
     [ ]

Don Brown resolved WW-1568.

    Fix Version/s: 2.0.2
       Resolution: Fixed
         Assignee: Don Brown

This has been fixed and if it wasn't, I've reverted the commit that removed support for do*
action methods due to backwards compatibility concerns.

> TokenAction's doInput method don't work?
> ----------------------------------------
>                 Key: WW-1568
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 2.0.1
>         Environment: WindowsXP/Tomcat5.5.17/Jre1.5.0_17
>            Reporter: tom liu
>         Assigned To: Don Brown
>             Fix For: 2.0.2
> 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();
> }

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message