luca wrote: > 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
Yes, this is a known issue. It will be fixed in the next release. Remy -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
