DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15668>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15668 Jasper generates deprecated code Summary: Jasper generates deprecated code Product: Ant Version: 1.5.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When I am executing the following ant code: <jspc srcdir="web" destdir="work/gnu/jshopz" package="gnu.jshopz"> <include name="**/*.jsp" /> </jspc> which will compile the following jsp code: <jsp:include page="servlet/ProductViewServlet" flush="true"> <jsp:param name="Action" value="<%= ServletHelper.getParameter(request,"Action") %>" /> the resulting code is as follows: JspRuntimeLibrary.include(request, response, "servlet/ProductViewServlet" + "?" + "Action=" + java.net.URLEncoder.encode("" + ServletHelper.getParameter(request,"Action") ) + ...... java.net.URLEncoder.encode("") has been deprecated!!! Jasper should better generate: java.net.URLEncoder.encode("","ISO-8859-1") // or whatever character encoding is required! -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
