aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes using uri attribute instead of tagdir Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "using uri attribute instead of tagdir" Watch "using uri attribute instead of tagdir" New topic
Author

using uri attribute instead of tagdir

Shruthi Karthick
Ranch Hand

Joined: Mar 12, 2008
Posts: 45
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 ]

Shruthi Karthick<br />SCJP - 93%<br />SCWCD - 89%
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Instead of specifying tagdir attribute in taglib directive if i do folowing steps wil the tag file be invoked?

Yes it will work.


[My Blog]
All roads lead to JavaRanch
Shruthi Karthick
Ranch Hand

Joined: Mar 12, 2008
Posts: 45
Thanks Christope..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using uri attribute instead of tagdir