Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag Files : URI Doubt  RSS feed

 
Sandeep Vaid
Ranch Hand
Posts: 392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q-9 : P-469 of HD Book
Explanation ; When using tag files in a JSP, you can specify their location with the uri or tagdir attribute. But the
files must be located in WEB-INF/tags or a subdirectory.

Can we specify uri with tag files? HFSJ doesn't talk about it ?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tag Files in a JAR file need a TLD. In this TLD, the uri can be set, so you can access tags using the same uri in your JSP.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!