It's not a secret anymore!
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Spec question" Watch "Servlet Spec question" New topic

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

Joined: Mar 22, 2000
Posts: 13036
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.
I agree. Here's the link:
subject: Servlet Spec question
It's not a secret anymore!