tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39966] - Class Cast Exception inTagHandlerPool
Date Sat, 16 Sep 2006 23:16:00 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39966>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39966





------- Additional Comments From scott@indosoft.ca  2006-09-16 23:15 -------
(In reply to comment #2)
> I filed this bug a while ago and have since changed jobs so I cannot reproduce
> it. However from what I recall I was using <jspversion>2.0</jspversion>.

> It is unclear from your comment but are you trying to say that TagHandlerPool is
> only used for older versions of JSP? 

Nope, just saying I had the exact same problem.  As far as I can tell,
TagHandlerPool is still used, but the overall handling of tags is slightly
different in 2.0 (interface JspTag was shunted to be a superinterface of Tag). 
So I think if you specify <2.0 in the TLD, the translator will go ahead and
expect the Tag interface in your custom tags.  It'll use TagAdapter to link them
both together (so getParent() works properly when you mix and match
SimpleTag[Support] subclasses with implementors of Tag).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message