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=24385>. 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=24385 text conversion fails with jsp:forward/param on linux server ------- Additional Comments From [EMAIL PROTECTED] 2003-11-06 21:33 ------- request.getParameter() uses the request encoding when reading the parameters, while <jsp:param> in 4.1.x encodes the parameter with URLEncoder.encode(String), which uses the platform default encoding. If they are different, you'll likely get problem like this. Try setting the request encoding to the platform default encoding by inserting a <% request.setCharacterEncoding("ISO-8859-1"); %> at the beginning of test1.jsp. Alternately, you can also use JSTL: <fmt:requestEncoding value="ISO-8859-1"/> This bug is unlikely to get fixed for 4.1.x, since the JSP 1.2 spec is unclear regarding parameter encodings. JSP 2.0 specifies that the jsp:param values should be encoded with the request encoding, so Tomcat 5 might work better for you. Since most browsers do not set request encodings, you are still advised to explictily set it with request.setCharacterEncoding(), but then you can set it anything other than the platform default, such as UTF-8. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]