permaculture playing cards*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes One issue of Custom tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "One issue of Custom tag" Watch "One issue of Custom tag" New topic

One issue of Custom tag


Joined: Jun 19, 2008
Posts: 9

One issue in Custom tag :

Which two are concerning the objects available to developers creating tag files?

A.The session object must be declared explicity.
B.The request and response objects are available implicity.
C.The output stream is available through the implicit outStream object.
D.The servlet context is available through the implicit servletContext object.
E.The JspContext for the tag file is available through the implicit jspContext object.

Multiple choice,actually i have doubts of this question ?!

In the tag file ,it is forbidden to use scriptlet ,so how could it use JSP implicit object

Thanks a lot
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

Those are not accessed using scriptlets. Some implicit objects are also available to Tag Files. You'll find a complete list at section "JSP.8.8 Implicit Objects" of the JSP specification.

(Please quote your sources)

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: One issue of Custom tag
Similar Threads
implicit object in Tag file
JSP implicit objects in Simple Tags
Tag File Implicit Objects
Query on Custom Tags
Doubt in tag files