• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tag-files in a jar Question

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic