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
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Web Component Certification (OCEJWCD)
Tag Files
Niteen Patil
Ranch Hand
Posts: 45
posted 14 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 14 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 14 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 14 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 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Hasnain.
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
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...