• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tag-file

 
amarkirt saroay
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tag-file entry will only be made in the tld if the tag is in a JAR file under /WEB-INF/lib/jar/META-INF/tags/ ?

so this implies that the 'path' element for a tagfile should always be like :


<tag-file>
<name>Header</name>
<path>/META-INF/tags/Header.tag</path>

what if the tag file resides in a war?

Can we give tag-file entry for a tag file which is not in a jar or war?
 
Dumitru Postoronca
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Storing a whole web-app in a WAR file is a transparent action. No extra rules start applying if you deploy the app as a WAR file.
As long as you store the tag file in the /WEB-INF/tags/ folder, it will be accessible without the need for a TLD file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic