On Tue, 20 Mar 2001, Zeltser, Mark wrote:

> Hello,
> 
> Did anyone successfully deployed struts-example on EAS 3.6.1? I am getting
> the following error:
> 
> 500 Servlet jspservlet: unable to service request: Unable to compile class
> for JSPC:\Program Files\Sybase\Jaguar CTS
> 3.5\work\Jaguar\Servlet\WebApp-struts-example\_0005cindex_0002ejspindex_jsp_
> 0.java:72: Incompatible type for method. Can't convert java.lang.String to
> boolean. _jspx_th_html_html_0.setLocale("true"); ^ 1 error 
> Also, java source can't be found under directory menioned above.
> Thanks, Mark.
> 

That looks like a problem that occurs with several servlet containers.

JSP compilers are required to perform conversions between the String
version of custom tag attribute values and the corresponding data type of
the underlying property (boolean in this case).  This requirement was not
clear in the JSP 1.1 spec, but was clarified in an errata published last
April, available at:

        http://java.sun.com/products/jsp/download.html

This should probably be reported as a bug to Sybase.

Craig McClanahan

Reply via email to