posted 17 years ago
SORRY IT WAS A MISTAKE. The above answer was wrong!
means use META-INF instead of WEB-INF
Here is the correct.
If we want to deploy tag files as jar then the tag file must be placed in under META-INF/tags directory or its Subdirectory
example:
/META-INF/tags/example.tag
/META-INF/tags/MyDirectory/example.tag
Then you have to create a tld file for that tag file.
The tld file must be placed under META-INF directory.
The tld file must use <tag-file> tag instead of <tag> tag.
example:
<taglib>
�
<uri>www.manning.com/scwcd/example</uri>
<tag-file>
<name>example</name>
<path>/META-INF/tags/example.tag</path>
</tag-file>
</taglib>
then make a jar file for that META-INF directory then place it in WEB-INF/lib directory
SCJP 5.0<br />SCWCD 1.4<br />Preparing for <b>SCEA</b>.<br /><b>"I prefer an interesting vice to a virtue that bores."</b>