jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28986] New: - ClassCastException in ImplicitObjects
Date Fri, 14 May 2004 16:49:53 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=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


Mime
View raw message