DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11324>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11324

forward() doesnt add parameters to query string 

           Summary: forward() doesnt add parameters to query string
           Product: Tomcat 4
           Version: 4.0.4 Final
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In Tomcat 331 I could call forward("fred.dyn?id=222") from a servlet that had 
already been called with a set of parameters say name=fred&location=uk and in 
the forwarded servlet (fred.dyn) I could get query string and it would 
contain: id=222&name=fred&location=uk in tomcat 404 (I havent tried 4.1) the 
query string only contains the id=222.

Now I realise the spec if loose in this area and it doesnt say that the query 
string should be updated - why do other containers BEA 6.0/7, WebSphere4, 
Tomcat3 - I suspect Caucho and Jetty would too (and havent time to test them) -
 do this and TC4 has taken the decision not to ?

Surely this means that there could be servlets out there that will not work in 
TC 4 if they process the query string and dont use getParameter().

I have an example web app if reqd.

james

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

Reply via email to