Sunday 18 December 2011

Using Scope Objects

Collaborating Web components share information via objects that are maintained as attributes of four scope objects. You access these attributes using the [get|set]Attribute methods of the class representing the scope. Table 11-4 lists the scope objects.
Table 11-4 Scope Objects 
Scope Object
Class
Accessible From
Web context
Web components within a Web context.
Session
Web components handling a request that belongs to the session.
Request
Web components handling the request.
Page
The JSP page that creates the object.

No comments:

Post a Comment