• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

About the position of tld files

 
Ranch Hand
Posts: 37
IntelliJ IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In which three directories relative to a web application's root,may a tag library descriptor file reside when deployed directly into a web application?
A: /WEB-INF
B: /META-INF
C: /WEB-INF/tlds/
D: /META-INF/tlds/
E: /WEB-INF/resources
F: /META-INF/resources

Can anyone help me?Thanks
 
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Zhao zhenhua:
[QB]In which three directories relative to a web application's root,may a tag library descriptor file reside when deployed directly into a web application?
A: /WEB-INF
B: /META-INF
C: /WEB-INF/tlds/
D: /META-INF/tlds/
E: /WEB-INF/resources
F: /META-INF/resources



Hi,

I believe tld files can be in any subdirectories of WEB-INF or packaged in a jarfile (in the META-INF directory).

So the 3 answers would be A-C-E.

Regards,
Alex
 
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have the same dilemma, and I also think that you have right, you can place the tld files in all the sub-directory, preferably in web-inf/tlds.

I hope I am right.

Regards,
M
 
Zhao zhenhua
Ranch Hand
Posts: 37
IntelliJ IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your explain. The answer is ACE
 
Ranch Hand
Posts: 1880
Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes..tld files must be inside WEB-INF. You can create sub folder inside the WEB-INF or directly put under the root directory.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic