This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 12761
    
    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
 
Consider Paul's rocket mass heater.
 
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