"incompatible types" error between two different Tomcats
0 posts in topic
Flat View  Flat View

Posted By:   Richard_Orth
Posted On:   Thursday, November 3, 2005 10:58 PM

I have a JSP created under TC4.1.29, that works. The same code under TC4.1.12 generates the error:

...: incompatible types
found : boolean
required: java.lang.Boolean
Boolean trips = false;

And not just for boolean types, also for String and doubles like this:

double convF = Double.valueOf(getServletContext().getInitParameter("fConv"));

Any ideas on what the problem is and how to fix it?

About | Sitemap | Contact