R
robin
Hi,
I'm trying to write a JSP Tag handler class that can be used with a
number of different tags - in other words multiple <tag> entries in
the TLD would point to the same <tag-class>.
The reason I'm doing this is that I want to be able to use the
<jsp:attribute> with a few standard html tags, so I'm trying to build
a pass-through tag that will just replace itself an html tag with the
same attributes and body as it has.
In order to work properly, the tag handler needs to know what tag name
caused it to be invoked at run-time. I've looked long and hard at the
API documentation and the JSP 2.1 spec, but so far haven't seen a way
to get this information.
Am I missing something obvious?
Thanks for any help.
-Robin Barooah
I'm trying to write a JSP Tag handler class that can be used with a
number of different tags - in other words multiple <tag> entries in
the TLD would point to the same <tag-class>.
The reason I'm doing this is that I want to be able to use the
<jsp:attribute> with a few standard html tags, so I'm trying to build
a pass-through tag that will just replace itself an html tag with the
same attributes and body as it has.
In order to work properly, the tag handler needs to know what tag name
caused it to be invoked at run-time. I've looked long and hard at the
API documentation and the JSP 2.1 spec, but so far haven't seen a way
to get this information.
Am I missing something obvious?
Thanks for any help.
-Robin Barooah