Forums Register Login

How To Specify the uri in taglib Directive

+Pie Number of slices to send: Send
I put a trail-taglib-0.2.jar file in the MyApplication/WEB-INF/lib directory.

Because the META-INF/taglib.tld is included in the trail-taglib-0.2.jar, I added the following in the MyApplication/WEB-INF/web.xml file:


How do I specify the uri in my JSP @taglib to point to that jar file? I think I did not get the path right:


[ May 03, 2006: Message edited by: Daniel Gee ]

[ May 03, 2006: Message edited by: Daniel Gee ]
[ May 03, 2006: Message edited by: Bear Bibeault ]
+Pie Number of slices to send: Send
 

Originally posted by Daniel Gee:
Because the META-INF/taglib.tld is included in the trail-taglib-0.2.jar, I added the following in the MyApplication/WEB-INF/web.xml file:



What does a filter declaration and mapping have to do with taglibs and tld files?

How do I specify the uri in my JSP @taglib to point to that jar file?



The URI must match the URI specified within the tld file. The location of the tld file and whether or not it is in a jar file is irrelevant.
We're being followed by intergalactic spies! Quick! Take this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1251 times.
Similar Threads
eclipse doesn't understand bean:write?
ZipException: Access is Denied
Sitemesh with Websphere6.1
display-name Must be Declared
namespaces, rdf and forEach
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:54:23.