File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 1506
Check out Marty Hall's "Core Servlets & JSP"

Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
wood burning stoves
 
subject: Confusion over scope: application, session, request, etc
 
Similar Threads
Post-Redirect-Get pattern
scopes
New forum for Sun Certified Web Component Developer
EL and Variables in JSP
setAttribute() and getAttribute()!!!