File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Attribute Scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Attribute Scope" Watch "Attribute Scope" New topic

Attribute Scope

Phillipe Rodrigues
Ranch Hand

Joined: Oct 30, 2007
Posts: 165
An attribute is stored in a scope?what does scope mean with reference to attrbute?

Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Scope has to do with how long an attribute will last and who has access to it.

This is covered very early on in any JSP/Servlet tutorial so it's probably a waste of time to re-iterate all of it here.

The scope objects are: Context (application), Session, Request, and Page.
This should give you enough keywords to use in Google when searching for a a good tutorial.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Attribute Scope
It's not a secret anymore!