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 Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tag Files Restrictions 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tag Files Restrictions" Watch "Tag Files Restrictions" New topic
Author

Tag Files Restrictions

Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 390
HFSJ P-800 In tag files, we can't use pageContext but we can use getJspContext()
but on page 500 It's give that
"You can use the implicit request and response objects
(if you do scripting .... the normal EL implicit objects are always there as well)

Does this mean i can use ${pageContext} in tag files but i can't use <% pageContext.getOut.print(""); %>. Right ?

In Tag files, in scriptlets only request and response objects are accessible ? Can't i access pageContext implicit object?
Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 390
Java Ranchers,
Still No Reply !!!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Patience Is A Virtue


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Tag Files Restrictions
 
Similar Threads
Getting session scoped variable in TagHandler class
doubt in tag files
which ofenclosing page variables can be automatically used by the dyna.included file?
tag files and implicit objects
Tag Library!!!