Pavel Kolesnikov wrote:

On Thu, 12 Aug 2004, Masoud Kalali wrote:



I use post for sending parameter to action and also add
(request.setCharacterEncoding("UTF-8");
to my action before reading parameter from it , also i add two



You should better call request.setCharacterEncoding() in a filter or overriden ActionServlet's method process().

Request parameters are read when ActionServlet prepares form
instances - it happens before your Action is called.



difinition on my jsp page <%request.setcharacterEncoding("UTF-8");%>



I think you have no reason to put this call in your JSP.

Pavel

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






hi
thank you for your post.
I test what you said , for creating a filter and apply it on web.xml , but still i could not get parameter in utf-8 and those are in ISO Latin-1 encoding , could you post the filter you mean here?
is it possible that WAS does not support UTF-8 parameter?
thank you



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



Reply via email to