https://issues.apache.org/bugzilla/show_bug.cgi?id=44537

           Summary: RequestDispatcher: query params lost for wrapped
                    requests
           Product: Tomcat 5
           Version: 5.5.23
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


SRV 8.1.1:
"The ServletContext and ServletRequest methods that create RequestDispatcher
objects using path information allow the optional attachment of query string
information to the path."

Thus, any query params used to create a RequestDispatcher must be passed on to
the request object.

RequestDispatcher dispatcher = aRequest.getRequestDispatcher("blah.jsp?x=1");
dispatcher.forward(aRequest, aResponse);

If the request is *not wrapped*, then 'x' is indeed visible in 'blah.jsp'.

However, if the request object is *wrapped*, then 'x' is not visible in the
destination page 'blah.jsp', and it should be.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to