You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "scud (JIRA)" <ji...@apache.org> on 2009/08/04 13:29:59 UTC
[jira] Commented: (WW-3179) StrutsPrepareAndExecuteFilter and
StrutsPrepareFilter causes i18n problems
[ https://issues.apache.org/struts/browse/WW-3179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46559#action_46559 ]
scud commented on WW-3179:
--------------------------
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class>
yes, I find it can't work for my chinese input.
I will use FilterDispatcher now, even it is not a good idea.
> StrutsPrepareAndExecuteFilter and StrutsPrepareFilter causes i18n problems
> --------------------------------------------------------------------------
>
> Key: WW-3179
> URL: https://issues.apache.org/struts/browse/WW-3179
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.6
> Environment: Apache Tomcat 6.0.18
> Reporter: Árpád Tamási
>
> The request parameters are processed in the incorrect character encoding since both filters call request.getParameterMap() before request.setCharacterEncoding().
> The lines:
> prepare.createActionContext(request, response); // invokes request.getParameterMap()
> prepare.assignDispatcherToThread();
> prepare.setEncodingAndLocale(request, response); // invokes request.setCharacterEncoding()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.