Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Implicit variables

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
What are the differences between application's environment ( for implicit variable application ) and page's environment ( for implicit variable pageContext) ?
thanks
daniel
[ April 02, 2003: Message edited by: Fisher Daniel ]
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the main thing is the scope
-- objects stored in the application scope can be accessed by any page/any user in the web app.
-- objects stored in the pageContext scope can only be accessed by that user from that particular page translation unit.
(and remember... a page translation unit it aany individual page that is translated... so a statically included page will be considered part of the parent page's Page Translation unit, but a dynamically included page will be a seperate Page Translation Unit.)
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!