Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Spec question

 
Alok Pota
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic