• Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.servlet.forward AND include

 
P Lavti
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a fundamental doubt regarding the attributes of javax.servlet.forward AND javax.servlet.include such as request_uri, context_path etc.

Who sets these attributes in the request and when?

Could you please give details of path_info attribute.

Also let me know if getQueryString() and request.getAttribute(javax.servlet.forward.query_string) will return the same values?

Thanks.
[ May 06, 2008: Message edited by: P Lavti ]
 
S Sravs
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.coderanch.com/t/176878/java-Web-Component-SCWCD/certification/servlet-specification


getQueryString() and request.getAttribute(javax.servlet.forward.query_string) will return the same values

path_info refer request.getPathInfo() of servlet api

Sravanthi
[ May 07, 2008: Message edited by: Vijaya Sravanthi ]
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!