File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes implicit object in Tag file 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "implicit object in Tag file" Watch "implicit object in Tag file" New topic

implicit object in Tag file

Sophie Angela
Ranch Hand

Joined: Jul 17, 2006
Posts: 46
is it true that all the implicit objects in a JSp is available for a Tag file?

is there any special case..?
Tridib Samanta
Ranch Hand

Joined: Apr 28, 2004
Posts: 128
No. page and exception implicit objects are not available in tag files. In addition to this instead of pageContext, jspContext is available in tag files.

Thanks, Tridib
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
Johan Pelgrim
Ranch Hand

Joined: Jul 07, 2003
Posts: 105

Implicit objects in...

JSP page: request, response, pageContext, session, application, out, config, page

EL expressions: pageContext, pageScope, requestScope, sessionScope, applicationScope, param, paramValues, header, headerValues, cookie

Tag files: request, response, jspContext, session, application, out, config

Johan Pelgrim, The Netherlands
SCJP 1.4, SCWCD 1.4, SCBCD 5.0
Christopher Baldoza

Joined: Jun 27, 2006
Posts: 25
In addition to implicit objects mentioned ...

JSP page : exception
EL expression : initParam
I agree. Here's the link:
subject: implicit object in Tag file
It's not a secret anymore!