Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tag-files in a jar Question

 
Gunaselan Varathan
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic