tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject AW: PROBLEM with Tomcat 4.10 and Jasper
Date Thu, 12 Sep 2002 09:00:35 GMT
It looks like jasper is generating wrong code in this case.

encode() is called on the result of FIECONJV1.getCONTCO(vect), 
which is a long. This should be converted to a string before 
calling encode().
 
As a work around you can force the expression to return a 
string like this:

<jsp:include ..>
  ...
  <jsp:param name="valeur" value="<%= Long.toString(FIECONJV1.getCONTCO(vect)) %>"
/>
  ...
</jsp:include>

See if that helps.

Ralph Einfeldt
Uptime Internet Solution Center GmbH
Hamburg, Germany
Hosting, Content Management, Java Consulting
http://www.uptime-isc.de 

-----Urspr√ľngliche Nachricht-----
Von: christophe.baroin@jpservices.fr [mailto:christophe.baroin@jpservices.fr]
Gesendet: Donnerstag, 12. September 2002 10:26
An: tomcat-user@jakarta.apache.org
Betreff: PROBLEM with Tomcat 4.10 and Jasper

I have a problem with Tomcat 4.10 and Jasper 
I use tags < jsp:include... >. 
That functions very well with Tomcat 4.0.x but not with Tomcat 4.10 
I you sendings my log and my file jsp + file compiled (Tomcat 4.0.4 and 4.10). 


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message