try this (for example you want to get the field "message" from the request):
request.setCharacterEncoding("utf-8");
String message = new
String(request.getParameter("message").getBytes("ISO-8859-1"),"utf-8");
It works for me. Just setting the character encoding didn't work. I ran this
code in jboss 3.0, it worked. Now I run it in 4.0 - works the same way.
Olga
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856805#3856805
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856805
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user