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
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.