• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About scope

 
sree visu
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any one please differentiate between context scope,request scope,page scope and session scope in a clear manner.

to my understanding context scope is a global scope, and session scope is only for that particular session but i don't get what a request or a page scope is..

please do help me in this regard.

Thanks in advance
 
Rodrigo Vieira
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
request and page have a similar behavior, the difference is that page works only for JSP, not in servlets. Also, If you forward from a jsp to another jsp the request will keep but not the page.
 
sree visu
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic