Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using uri attribute instead of tagdir

 
Shruthi Karthick
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a tag file named Header.tag in /WEB-INF/tags/Booking folder.
Instead of specifying tagdir attribute in taglib directive if i do folowing steps wil the tag file be invoked?
1) Put <tag-file> elment with <name> and <path> elements in TLD.
2)tagdir attribute is removed and proper uri(as mentioned) is used in taglib directive in JSP.(tag files are not in jar.its in /WEB-INF/tags/Booking folder only)
[ April 06, 2008: Message edited by: Shruthi Karthick ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of specifying tagdir attribute in taglib directive if i do folowing steps wil the tag file be invoked?

Yes it will work.
 
Shruthi Karthick
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Christope..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic