This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design 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
 
Have you checked out Aspose?
 
subject: Confusion over scope: application, session, request, etc
 
It's not a secret anymore!