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=5199>. 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=5199 <jsp:param> in <jsp:include> section not correct Summary: <jsp:param> in <jsp:include> section not correct Product: Tomcat 4 Version: 4.0.1 Final Platform: PC OS/Version: Windows 9x Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When <jsp:param> in <jsp:include> section used international string (russian in example), parameter tranfered not correctly file test_include_1.jsp: <%@page contentType="text/html; charset=utf-8" language="java" %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <% String russian_string = "\u0418\u043d\u0444\u043e\u0440\u043c\u0430 \u0446\u0438\u044f \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442 \u0435\u043b\u0435"; session.setAttribute("TEST_VALUE", russian_string); %> <jsp:include page="test_include_2.jsp"> <jsp:param name="test_value" value="<%= russian_string %>"/> </jsp:include> String from session 1: <%= (String)session.getAttribute("TEST_VALUE") %><br> </body> </html> file test_include_2.jsp: <%@page contentType="text/html; charset=utf-8" language="java" import="java.util.Enumeration" %> String from session 2: <%= (String)session.getAttribute("TEST_VALUE") %><br> String from URL: <%= request.getParameter("test_value") %><br> <% Enumeration e = request.getParameterNames(); for (; e.hasMoreElements() ;) { String n = (String)e.nextElement(); String[] s = request.getParameterValues( n ); for (int i=0; i<s.length; i++) out.print(n+" = "+s[i]+"<br>"); } %> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>