Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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..
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!