Greetings,

An application that runs just fine in Glassfish 2.1 sort-of craps out when
deployed on Weblogic 10.3.

Specifically, an exception is thrown upon accessing a page that uses
html:checkbox with an EL expression for the 'disabled' attribute:


11:04:29 ERROR  926:org.apache.struts.tiles.taglib.InsertTag -
ServletException in '/pages/xxx/xxx.jsp': Failed to compile JSP
/pages/xxx/xxx.jsp
xxx.jsp:390:102: The method setDisabled(boolean) in the type BaseHandlerTag
is not applicable for the arguments (String)
                    <html:checkbox property="xxxxxxxxxxxx"
value="${xxxxxxxxxxxxxxxx}" disabled="${disabledFlag}"
title="${titleMessage}" />

javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException:
Failed to compile JSP /pages/xxx/xxx.jsp
xxx.jsp:390:102: The method setDisabled(boolean) in the type BaseHandlerTag
is not applicable for the arguments (String)
                    <html:checkbox property="xxxxxxxxxxxx"
value="${xxxxxxxxxxxxxxxx}" disabled="${disabledFlag}"
title="${titleMessage}" />

        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:252)
        at
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
        at
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
        at
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
        at
weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
        at
weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
        ... snipped



${disabledFlag} evaluates to true. If I use 'true' instead of the EL
expression, it works.

I'm using the following taglib: <%@ taglib uri="
http://struts.apache.org/tags-html-el"; prefix="html" %>.

If I use <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"
%> there is no problem (no 'el').

What is happening?!

Reply via email to