aspose file tools
The moose likes JSP and the fly likes tld Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "tld" Watch "tld" New topic
Author

tld

Arun Prasath
Ranch Hand

Joined: Jul 18, 2006
Posts: 60
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

Joined: Jan 10, 2002
Posts: 56166
    
  13

Not much to do with servlets. Moved to JSP.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Sarath Chandra
Greenhorn

Joined: Jan 31, 2007
Posts: 23
Hi,
Please Check the below link
Simlilar Question

Cheers!
Sarath
Hunny Lee
Greenhorn

Joined: Feb 17, 2007
Posts: 23
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tld
 
Similar Threads
Question on tag files
Servlet Chaining
Not able to view the folder contents
Reading from a file
tld