Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Taglib file outside WEB-INF

 
Sudarsan Raman
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.
 
Albareto McKenzie
Ranch Hand
Posts: 299
  • 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: 299
  • 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 ;)
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
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