tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <>
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)) %>"

See if that helps.

Ralph Einfeldt
Uptime Internet Solution Center GmbH
Hamburg, Germany
Hosting, Content Management, Java Consulting 

-----Urspr√ľngliche Nachricht-----
Von: []
Gesendet: Donnerstag, 12. September 2002 10:26
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:   <>
For additional commands, e-mail: <>

View raw message