wood burning stoves 2.0*
The moose likes Servlets and the fly likes Confusion over scope: application, session, request, etc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Confusion over scope: application, session, request, etc" Watch "Confusion over scope: application, session, request, etc" New topic
Author

Confusion over scope: application, session, request, etc

Paul Gilette
Greenhorn

Joined: May 09, 2001
Posts: 10
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

Joined: Nov 06, 2000
Posts: 1510
Check out Marty Hall's "Core Servlets & JSP"

Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confusion over scope: application, session, request, etc
 
Similar Threads
EL and Variables in JSP
New forum for Sun Certified Web Component Developer
setAttribute() and getAttribute()!!!
scopes
Post-Redirect-Get pattern