I wrote a taglib that is used by completly stupid users ;) For this reason I made a "IllegalTagNestingException", which is thrown allways, when a jsp contains a nesting of tags, that is not allowed, e.g.:
<aTag/> <Tag_That_Has_To_Be_Inside_Of_An_aTag>...
would throw such an Exception. By this way the taglib-user knows a bit more about what he did wrong.
Well, the problem is, I dont find a way of determining the tagname by the classname. Inside the taglib-implementation any tag knows his class-name but has no idea of the assoziated tagname. How can I access the mapping between tagnames and classnames or how can I at least determine the filname of the used tld from inside the taglib-implementation (for jrun, there is a way over the pageContext, but in tomcat?)
thanx for any help Gerald Kleser
.................................................................... Gerald Kleser neofonie GmbH Tel: +49.30.24627-212 Softwareentwicklung Robert-Koch-Platz 4 FAX: +49.30.24627-120 [EMAIL PROTECTED] D-10115 Berlin Web: www.neofonie.de
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
