This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet Spec question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Spec question" Watch "Servlet Spec question" New topic
Author

Servlet Spec question

Alok Pota
Ranch Hand

Joined: Mar 07, 2001
Posts: 185
When you forward a request, is the servlet container required to retain the
query string, just as it retains the parameters of a forwarded request.??
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12756
    
    5
According to the JavaDocs on javax.servlet.RequestDispatcher, the forward method must forward either the exact request and response objects or wrappers for these objects. If you have Tomcat installed, those JavaDocs are on your system.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Spec question
 
Similar Threads
Scope of implicit response object
query in JSP-Servlets
RPC SOAP Client in Javascript
Regarding about sending request attributue from jsp to servlet
Validation on each Request