You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/08/18 16:17:35 UTC

[jira] Updated: (WW-2120) Dispatcher does not put request parameters of new url on the value stack.

     [ https://issues.apache.org/struts/browse/WW-2120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2120:
-----------------------------

    Fix Version/s: 2.0.11

> Dispatcher does not put request parameters of new url on the value stack.
> -------------------------------------------------------------------------
>
>                 Key: WW-2120
>                 URL: https://issues.apache.org/struts/browse/WW-2120
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch
>    Affects Versions: 2.0.9
>            Reporter: Kris Coolsaet
>            Priority: Minor
>             Fix For: 2.0.11
>
>
> If an action dispatches to a JSP page with a query string, the parameters of that string are not available to
> the page, at least not with the #parameter notation. They are when using plain JSP.
> For example, consider the following action definition
> <action name="DoChangePassword" class="...">
>        <result name="error">
>              <param name="location">WrongPassword.jsp?back=ChangePassword</param>
>        </result>
> </action>
> then WrongPassword.jsp has no access to #parameters.back or #parameters['back'], although the following
> JSP-expression does work
> <%= request.getParameter("back"))%>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.