File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JSP Implicit objects
Joined: May 11, 2008
Nov 08, 2008 20:38:00
Just want to know the implicit objects (request, response, application, etc.) that are available for
are only available for scriplets and expressions?
That means the implicit objects are not available for declarations in JSP.
I came to this conclusion by looking at a generated
from a JSP. The implicit objects were declared inside the _jspService() method.
Is this correct? Thanks in advance.
Author and ninkuma
Joined: Jan 10, 2002
Nov 08, 2008 20:55:00
Yes. Think about it for a minute -- as declarations are created at class level outside of the service method, what meaning would an implicit object like request have?
P.S. At this point in time you should already have transitioned away from scriptlets and declarations and be using the JSTL and EL in scriptless JSP pages.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: JSP Implicit objects
Implicit Objects available in Tag Files
implicitObjects available to the tag file?
translation unit of jsp
Implicit Objects doubt!
Implicit and Explicit Objects
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014