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

jsp:useBean scope conception  RSS feed

 
nian zhang
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the scope could be one of page|request|session|application.
can anyone explain to me page and application means and difference?
thanks a lot.
nian
 
Abdul Narayan D'souza TP
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well application scope means it is available throught yur application,
apllication object is of type javax.servlet.ServletContext.
while page scope means it is available only for the current page.
page scope --javax.servlet.jsp.PageContext
 
nian zhang
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abdul Narayan D'souza TP, thank you very much.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!