This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tag files and JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tag files and JSP" Watch "Tag files and JSP" New topic
Author

Tag files and JSP

Sophie Angela
Ranch Hand

Joined: Jul 17, 2006
Posts: 46
Can we use a JSP directives in a tag file?
S Kapoor
Greenhorn

Joined: Mar 31, 2006
Posts: 20
The taglib and include directive, yes.
But you cannot use the page directive in tag files.
Refer to section 8.5 from the JSP spec.


SCJP, SCJWS, SCWCD
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tag files and JSP
 
Similar Threads
doubt with jsp tag
Multiple file upload under <itarate> tag for each row using struts
Need an attribute to be available in different places (SOLVED)
How to reuse a jsp code fragment like address in other jsp files
Non-matching extension tags