• 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

Taglib file outside WEB-INF

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Is it possible to keep the taglib tld files (of custom tags) placed outside WEB-INF?

We can place our taglib tld files within directly WEB-INF folder or a folder under WEB-INF (say tld/tlds), or even within a jar file which is placed under WEB-INF/lib.

If the tld file is being referred from a jar file, is it possible to place the JAR file within a SHARED LIBRARY (of WAS) ?

If this is do-able, pl. update me how.

Regards

Sudarsan.
 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tlds must be in WEB-INF, it can be directly under WEB-INF, in a subfolder or inside the META-INF of a jar
Why do you want to put it outside?
 
Sudarsan Raman
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Currently my tld files are available within jars only.

Our application is being evaluated for Shared Library (SL) in WAS env. If this is the case, I'm forced to take the tld files out of the Jars (since the Jars are moving to SL and put them under WEB-INF.

I was wondering if there is a way so that the tld files gets accessed from the JARS which is in SL.

Regards,

Sudarsan.
 
Albareto McKenzie
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry, I cannot help you further cause I have no idea of where is the SL placed in your application but as far as I know the tlds have to be behind WEB-INF, let's wait an expert that can solve your doubt, good luck ;)
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the jar files are in the classpath, it will be fine.
 
reply
    Bookmark Topic Watch Topic
  • New Topic