• Post Reply Bookmark Topic Watch Topic
  • New Topic

tld  RSS feed

 
Arun Prasath
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can TLDs be present in WEB-INF\classes or WEB-INF\lib\someDir (which is just before jar file ) or WEB-INF\someDir...?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not much to do with servlets. Moved to JSP.
 
Sarath Chandra
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Please Check the below link
Simlilar Question

Cheers!
Sarath
 
Hunny Lee
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Arun Prasath AV:
can TLDs be present in WEB-INF\classes

Yes
or WEB-INF\lib\someDir (which is just before jar file )

No
or WEB-INF\someDir...?

Yes

TLDs can be placed anywhere under the WEB-INF folder (and any direct subdirectory) as long as it has the .tld extension so that the container can find it.

There are 4 places the container looks for TLDs (accdg to specs, at least)
1. under WEB-INF
2. under ANY folder DIRECTLY under WEB-INF
3. Inside META-INF inside a jar file (which is inside the WEB-INF/lib)
4. Inside a subdirectory of META-INF inside a jar file (which is inside the WEB-INF/lib)
[ February 17, 2007: Message edited by: Hunny Growl ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!