tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11324] New: - forward() doesnt add parameters to query string
Date Wed, 31 Jul 2002 10:41:44 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: james.sanderson@northgate-is.com


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:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message