Hi,
I have trouble processing user's input using UTF-8 encoding. I can change to
different locales with
<fmt:setLocale value='${sessionScope["org.apache.struts.action.LOCALE"]}'/>,
but I don't think
<fmt:requestEncoding value='UTF-8'/>
is working for me right now. I already set the page encoding in my hearder with:
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Here is my Systen.out in the beginning of dispatchAction():
System.out.println(request.getCharacterEncoding());
System.out.println(request.getContentType());
System.out.println(request.getLocale());
And this is what I get:
null
application/x-www-form-urlencoded
en_US
I am not sure what's missing right now. Do I have to set anything in the
web.xml?
Thanks in advance!
-Yan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]