This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP and context

 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I am reading book "Professional Java Server Programming" by Subrahmanyam Allamaraju..
This book said that "Everything in JSP is associated with a context, and every context has a scope."
What is the meaning of that statement?
thanks
daniel
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When talking about JSP context and scopes, you are usually referring to the PageContext and the available scopes into which you can place objects (request, page, session and application). I actually have a copy of this on my desk - which page is the reference from?
Simon
 
Fisher Daniel
Ranch Hand
Posts: 582
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Simon,
Thanks for your explanation.
I read that statement in Chapter 11 "JSP Basic and Architecture" about Scope in page 508
regards
daniel
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes - I just opened up the book and it is the various scopes that is being referenced.
Simon
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic