aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tag Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tag Files" Watch "Tag Files" New topic
Author

Tag Files

Nikhil Jain
Ranch Hand

Joined: May 15, 2005
Posts: 385
Hello there,
when we use the taglib directive in the jsp .i.e.
<%@ taglib prefix="mytags" tagdir="/web-inf/tags" %>

I don't understand why are we specifying the tagdir with the location of the tag file. Because accor to the spec, the container looks for tag files in the some fixed locations. So does this mean that tagdir attribute is optional.
Shashank


SCJP 1.4, SCWCD 1.4, SCBCD 1.5
Gaurav Gambhir
Ranch Hand

Joined: Mar 04, 2006
Posts: 254
What in case if you have your custom directory inside WEB-INF/tags which you put the tag files, how will container know that directory name.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tag Files
 
Similar Threads
Tag Files location!!
uri element ,taglib element
difference between tagdir and uri
Tag File Location !!
"taglib" and "uri" attributes of taglib directive