aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt about Locations of TLD files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt about Locations of TLD files" Watch "Doubt about Locations of TLD files" New topic
Author

Doubt about Locations of TLD files

Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
HFJ&JSP says
TLD files can be stored at following places
1.inside WEB-INF
2.inside sub folders of WEB-INF
3.inside META-INF which is located inside WEB-INF/lib/jar
4.inside sub folders of META-INF

Here is My doubt

Question 1 pno=:485 of HFS&JSP says
TLD files cannot be palced in META-INF dir of WAR file.Because files are not recognized in META-INF of WAR file.

Above statement looks like opposite of statement no-3
Please help.
Thanks
Ali Gohar
Ranch Hand

Joined: Mar 18, 2004
Posts: 572
Statement 3 says that TLD file can be located in META-INF directory if tags are packaged as jar file. It doesn't say about WAR file.
[ November 27, 2006: Message edited by: Ali Gohar ]
Siddharth Purandare
Ranch Hand

Joined: Nov 13, 2006
Posts: 101
I Guess you know that there are 2 META-INF files if you deploy the application in WAR file.

1 is inside the contextroot,
2 is inside contextroot/WEB-INF/lib/jar/META-INF.

Hope it hepls. Good luck.

Cheers!!!
[ November 28, 2006: Message edited by: Siddharth Purandare ]

Siddharth Purandare<br />SCJP 1.4 - 76%<br />SCWCD 1.4 - 85%<br /> <br />It is the "attitude" and not the "aptitude" which determines "altitude".
Renu Radhika
Ranch Hand

Joined: Oct 21, 2005
Posts: 243
Yes thats true.You can keep under sub directory of META_INF directory located under WEB-INF\LIB\*.jar and not under context-root\META-INF in the WAR deployed web application
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt about Locations of TLD files