GeeCON Prague 2014*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Tag-files in a jar  Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Tag-files in a jar  Question" Watch "Tag-files in a jar  Question" New topic
Author

Tag-files in a jar Question

Gunaselan Varathan
Ranch Hand

Joined: Nov 11, 2005
Posts: 30
Hi,
I have a question on tag files in a jar mode.

if we jar the tag file then we need to specify the tag information in the tld file.

when we mention it in the tag file, we specify
<tag-file>
<name>Name of the Tag</name>
<path>path of the tag file(including tag file and location)</path>
</tag-file>

my question is , since we are specifying the tag name and file manually.
1) Can we have a different tag name, other than the original tag file name?
example: suppose we have /WEB-INF/tags/b.tag
can we have
<tag-file>
<name>A</name>
<path>/WEB-INF/tags/b.tag</path>
</tag-file>


2) my second question is similar to question 1. since we specifying the path, can we have the file placed in different location(say /WEB-INF/tags) other than default location(/WEB-INF/tags/)?
<tag-file>
<name>b</name>
<path>/WEB-INF/lib/b.tag</path>
</tag-file>

will this work


Guna<br />SCJP 1.4 86<br />SCWCD 1.4 94
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tag-files in a jar Question