You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2008/05/21 16:27:05 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=43917#action_43917 ]
Musachy Barroso commented on WW-2120:
-------------------------------------
This happens because #parameters is set on Dispatcher, which is not invoked when a forward, or include is made
> 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 Filter
> Affects Versions: 2.0.9
> Reporter: Kris Coolsaet
> Priority: Minor
> Fix For: 2.1.3
>
>
> 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.