You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2004/05/14 18:49:53 UTC
DO NOT REPLY [Bug 28986] New: -
ClassCastException in ImplicitObjects
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=28986>.
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=28986
ClassCastException in ImplicitObjects
Summary: ClassCastException in ImplicitObjects
Product: Taglibs
Version: 1.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Standard Taglib
AssignedTo: taglibs-dev@jakarta.apache.org
ReportedBy: trond@aasan.org
Using tomcat 5.0.24
This may belong to commons-el
Jasper uses the org.apache.commons.el implementation.
pageContext.getExpressionEvaluator() returns a
org.apache.commons.el.ExpressionEvaluatorImpl
>From org.apache.commons.el.ImplicitObjects.java (which is the identical to
org.apache.taglibs.standard.lang.jstl.ImplicitObjects)
static final String sAttributeName =
"org.apache.taglibs.standard.ImplicitObjects";
This line fails (ImplicitObjects.java:121)
public static ImplicitObjects getImplicitObjects (PageContext pContext)
{
ImplicitObjects objs =
(ImplicitObjects)
pContext.getAttribute (sAttributeName,
PageContext.PAGE_SCOPE);
Trying to cast org.apache.taglibs.standard.lang.jstl.ImplicitObjects to
org.apache.commons.el.ImplicitObjects
This means I can not use ExpressionEvaluators in my own taglibs.
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org