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=16078>. 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=16078 Request parameter aggregation when using <jsp:param> is no longer working as expected. Summary: Request parameter aggregation when using <jsp:param> is no longer working as expected. Product: Tomcat 5 Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Jasper2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Given the following request line: GET /test.jsp?param1=value1 HTTP/1.1 test.jsp --------------------------------------- <jsp:forward page="resource.jsp"> <jsp:param name="param1" value="value2" /> <jsp:param name="param2" value="value2" /> </jsp:forward> --------------------------------------- resource.jsp ------------------------------------------------- <%@ page contentType="text/plain" %> <% String[] param1Values = request.getParameterValues("param1"); String[] param2Values = request.getParameterValues("param2"); for (int i = 0; i < param1Values.length; i++) { out.println("PARAM1 VALUE: " + param1Values[i]); } for (int i = 0; i < param2Values.length; i++) { out.println("PARAM2 VALUE: " + param2Values[i]); } %> -------------------------------------------------------------------- When checking the values of the request parameters in resource.jsp, param1 has value2,value2,value1 as values instead of value2,value1. param2 has value2,value2 as values instead of just value2. This worked properly in previous builds. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
