• Post Reply Bookmark Topic Watch Topic
  • New Topic

scopes in JSP tags  RSS feed

 
Joanne Fire
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone know what this is all about and where I can find out more?
Thank you!
 
Bill Siggelkow
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following are the scopes -
page - beans in this scope are only available to actions and scriptlets within one page (like an instance variable of the servlet)
request - beans are available to any pages that are part of the same HttpRequest (attribute of HttpRequest)
session - beans are shared by all requests or pages made by the same user (attribute of HttpSession)
application - objects are shared by all users of the web app (attribute of ServletContext)
 
Joanne Fire
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Bill! That really is what I needed!
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!