On Tue, 19 Jun 2001, Matt Raible wrote:
> Has anyone solved this error before?
>
> <html:html locale="true"> seems to be causing the
> following error:
>
This will happen on containers that do not correctly implement the latest
errata for JSP 1.1, which can be found at
<http://java.sun.com/products/jsp/download.html>. Basically, the page
compiler is supposed to look at the data type of the underlying property
(boolean, in this case), and do an automatic type conversion of the
incoming value, according to Table 2-4.
Craig McClanahan
> [19/Jun/2001 15:00:33:7] info:
> --------------------------------------
> [19/Jun/2001 15:01:40:4] error: Exception:
> SERVLET-compile_failed: Failed in com
> piling template: /uiframework/index.jsp, javac error:
> d:\iplanet\ipm6\ias\APPS\m
> odules\uiframework\WEB-INF\compiled_jsp\jsp\APPS\uiframework\index.java:66:
> Inco
> mpatible type for method. Can't convert
> java.lang.String to boolean.
>
> ((org.apache.struts.taglib.html.HtmlTag)_JSP__5).setLocale("true");
>
> ^
> 1 error
>
> __________________________________________________
> Do You Yahoo!?
> Spot the hottest trends in music, movies, and more.
> http://buzz.yahoo.com/
>