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=24557>.
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=24557

Request encodings doesn't work.





------- Additional Comments From [EMAIL PROTECTED]  2003-11-18 09:42 -------
But what about GET method. It is not working even that it is recommended way
of doing things in servlet 2.3 spec.

http://developer.java.sun.com/developer/qow/archive/179/index.jsp

Here is sample of code which worked fine in previous tomcats, but not in 4.1.29

 response.setContentType("text/html; charset=utf-8");
        PrintWriter out = response.getWriter();
        request.setCharacterEncoding("UTF-8");
        String zolc="żółć";
        out.println("Input string:"+zolc);
        out.println("<br>");
        out.println("Press <a
href=\"?z="+URLEncoder.encode(zolc,"UTF-8")+"\">link to see how parameter is
encoded</a><br>");
        out.println("Parameter z value is:");
        out.println(request.getParameter("z"));
        out.close();

Please contact me if you need to see how it works on 4.1.27 and 4.1.29 (I have
it installed on 2 servers).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to