Re: Problem with struts-example and WAS 3.5.2

2001-06-15 Thread Dan Miser

Take a look at this:
www.distribucon.com/struts/WASInstall.htm

There is no need to change the DTD declarations if you follow these
directions.
--
Dan Miser
http://www.distribucon.com

- Original Message -
From: "D'Elia, Kevin" 
To: "'Struts User's Group'" <[EMAIL PROTECTED]>
Sent: Friday, June 15, 2001 9:36 AM
Subject: Problem with struts-example and WAS 3.5.2


> I am trying to get Struts to work with WAS 3.5.2, using the
> directions available on the Struts installation page
> (installation-was352.html).  I have done all of the steps up to the point
> where I put in the 1.0.1 jaxp.jar and parser.jar files.  When I start the
> Default Server, I see the following in the stdout.log:





Re: Problem with struts example

2001-06-09 Thread Craig R. McClanahan



On Wed, 6 Jun 2001 [EMAIL PROTECTED] wrote:

> Has anyone run into this problem? When I try to run the struts-example page
> I get the following error:
> 
> org.apache.jasper.JasperException: Unable to compile class for
> JSP/home/carol/web/enhydra3.1/work/Struts/_0002findex_0002ejspindex_jsp_0.java:72:
> 
> Incompatible type for method. Can't convert java.lang.String to boolean.
> _jspx_th_html_html_11.setLocale("true");
> 
> 
> The java code generated which causes this error looks like:
> 
> org.apache.struts.taglib.html.HtmlTag _jspx_th_html_html_11
> = new org.apache.struts.taglib.html.HtmlTag();
> _jspx_th_html_html_11.setPageContext(pageContext);
> _jspx_th_html_html_11.setParent(null);
> _jspx_th_html_html_11.setLocale("true");
> 
> I've only got one version of struts.jar, the one that was packed in
> struts-example.war. I'm running struts using Enhydra 3.1 on RedHat 7.1.
> 
> Renee Petris
> [EMAIL PROTECTED]
> 
> 

It looks like Enhydra 3.1 might be using a very old version of Jasper
(perhaps from Tomcat 3.1) that did not correctly deal with custom tag
properties that are booleans.  As you might expect, the last generated
line above should really be:

  _jspx_th_html_html_11.setLocale(true);

instead.

Craig