• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BETA - Question about directory structure and taglib

 
Eduardo Rodrigues
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys!
I have a question in the following objective:

On the letter e - tag libraries.
I usually put the *.tld files under /webAppRoot/WEB-INF and the class files for them under WEB-INF/classes (for .class) or WEB-INF/lib (for *.jar).
Is that the correct choice?
 
Dmitry Danilov
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
quotation from "JavaServer Pages, 3rd edition" by Hans Bergsten:
The WEB-INF directory can also contain other directories. For instance, a directory named tlds is by convention used for tag library Tag Library Descriptor (TLD) files when they are not packaged in JAR files.

Therefore, it can be right in WEB-INF, but also in WEB-INF/tlds/, which is, in my opinion, a bit more orderly...
[ January 29, 2004: Message edited by: Dmitry Danilov ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic