• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tld in jar file

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If my tld is in jar file what will be my taglib-location??
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In web.xml:Will try to load "META-INF/taglib.tld" from the mytags jar archive. Quite a neat way to package your tags, it makes you wonder why so many taglibs come with separate tld files.
You can also directly refer to the jar when you define the tag prefix (<%@taglib prefix=...%>) in your jsp. In that case you don't need an entry in web.xml - but avoid this method if you need the tags more than one or two jsps.
- Peter
[ April 08, 2002: Message edited by: Peter den Haan ]
reply
    Bookmark Topic Watch Topic
  • New Topic