Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About the position of tld files

 
Zhao zhenhua
Ranch Hand
Posts: 37
Firefox Browser IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
 
Alex Belisle Turcot
Ranch Hand
Posts: 516
  • Mark post as helpful
  • send pies
  • 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
 
Mihai Radulescu
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
  • 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
Firefox Browser IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your explain. The answer is ACE
 
Krishna Srinivasan
Ranch Hand
Posts: 1874
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic