• Post Reply Bookmark Topic Watch Topic
  • New Topic

Attributes available to included/forwarded servlets

 
Sudarshan Sreenivasan
Ranch Hand
Posts: 188
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Attribute for included servlet Attribute for forwarded servlet

request_uri
context_path
servlet_path
path_info
query_string


Why are these variables required .. when the target servelet can get a handle to the ServletContext object through the getServletContext and the other methods through the ServletRequest object ??
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!