Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion over scope: application, session, request, etc

 
Paul Gilette
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are several ways of storing information to be shared as servlets and JSPs forward to and include each other.
I'm confused by the differences between "page context," "request context," the session, and the application. I'm also confused by what syntax to use reference these objects using Java code in a servlet versus the syntax used in a JSP.
Is there a good book or other source that clearly explains server/servlet/JSP lifecycle and clarifies the code used to reference each of these objects?
 
Bosun Bello
Ranch Hand
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out Marty Hall's "Core Servlets & JSP"

Bosun
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic