This week's book giveaway is in the Artificial Intelligence forum.
We're giving away four copies of Pragmatic AI and have Noah Gift on-line!
See this thread for details.
Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Taglib file outside WEB-INF  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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: 307
  • Mark post as helpful
  • send pies
  • 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
  • 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: 307
  • Mark post as helpful
  • send pies
  • 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 ;)
 
Author and ninkuma
Marshal
Posts: 66789
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the jar files are in the classpath, it will be fine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!