wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
Don't get me started about those stupid light bulbs.
 
subject: Tag Files
 
Similar Threads
Tag File Location !!
"taglib" and "uri" attributes of taglib directive
difference between tagdir and uri
uri element ,taglib element
Tag Files location!!