File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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: 8919

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: 8919

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
 
Don't get me started about those stupid light bulbs.
 
subject: Scope of implicit response object