tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "luca" <lbiolc...@ais.it>
Subject tomcat 4.1.10 & <jsp:include> tag
Date Mon, 09 Sep 2002 15:38:49 GMT
Hello,
I've caught an exception with tomcat 4.1.10 and the tag <jsp:include
page="...">.
this is the code:

-------------------------------------------
<% boolean disabled=false; ...%>

<jsp:include page="simple-icon.jsp">
   <jsp:param name="icon" value="blocca"/>
   <jsp:param name="disabled" value="<%= disabled %>"/>
</jsp:include>
-------------------------------------------

and this is the error message:

-------------------------------------------
An error occurred at line: 567 in the jsp file: /frame-grid.jsp

Generated servlet error:
D:\Programmi\Tomcat
4.1\work\Standalone\localhost\webmodel\frame_0002dgrid_jsp.java:412: cannot
resolve symbol
symbol  : method encode  (boolean)
location: class java.net.URLEncoder
      JspRuntimeLibrary.include(request, response, "simple-icon.jsp" + "?" +
"icon=" + "blocca" + "&" + "disabled=" + java.net.URLEncoder.encode(
disabled ), out, false);
-------------------------------------------

Note that with Tomcat 4.04 this worked fine.

I'm using Tomcat 4.1.10 LE-jdk14 with jdk 1.4.0
Thanx for any suggests, luca



--
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