This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • 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!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!