Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJWCD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
Web Component Certification (OCEJWCD)
Tag Files
Niteen Patil
Ranch Hand
Posts: 45
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is there any need to describe the tagfiles in TLD.
Christophe Verré
Sheriff
Posts: 14691
16
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
No, the container will implicitly map any Tag Files it founds under the WEB-INF/tags directory (and subdirectories).
[My Blog]
All roads lead to JavaRanch
Niteen Patil
Ranch Hand
Posts: 45
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks,
If the tagfile is placed in the jar file?
Hasnain Javed Khan
Ranch Hand
Posts: 73
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
Yes you'll need a TLD when the tag files are in a JAR file with the following mapping
<taglib ....> <tlib-version>1.0</tlib-version> <uri>myABCTags</uri> <tag-file> <name>ABC</name> <path>/META-INF/tags/ABC.tag</path> ==> either /META-INF/tags or any subdirectories thereof </tag-file> </taglib>
Hope that helped.
Kind Regards.
Hasnain.
Niteen Patil
Ranch Hand
Posts: 45
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Hasnain.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
taglib-directive tagdir and uri
cannot run tld file in subfolder
Tag Files : why TLD requires
Tag Files Packaged in JAR files.
HFSJ Page No.501 - TagFiles
More...