This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Scope of implicit response object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Scope of implicit response object" Watch "Scope of implicit response object" New topic
Author

Scope of implicit response object

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

What is the scope of the implicit response object.
The syntax reference card from Sun says it as Page scope but I think it should be request scope.


Groovy
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
The JSP 1.2 specs (JSP.2.8.3 Implicit Objects) say it's page scope.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

How is it page scope ? Can't I use the same response object across pages. I strongly feel it is request scope.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Objects with request scope can be accesed by another servlet/jsp that is forwarded the request.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
jQuery in Action, 2nd edition
 
subject: Scope of implicit response object
 
Similar Threads
about implicit JSP objects
Implicit objects and their scopes
scope
Doubt Regarding implicit objects
scope doubt