[ 
https://issues.apache.org/jira/browse/WW-4179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13751030#comment-13751030
 ] 

Lukasz Lenart commented on WW-4179:
-----------------------------------

You can define your own bean in struts.xml and use extension point 
_struts.localeProvider_

http://struts.apache.org/development/2.x/docs/plugins.html#Plugins-ExtensionPoints
                
> Error messages from JakartaMultiPartRequest are not in the correct language
> ---------------------------------------------------------------------------
>
>                 Key: WW-4179
>                 URL: https://issues.apache.org/jira/browse/WW-4179
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.15.1
>            Reporter: Tom Briers
>             Fix For: 2.3.17
>
>
> When we upload a file that exceeds the {{struts.multipart.maxSize}} we don't 
> get the message in the correct language.
> This seems to be due to the fact that the interceptors are executed after the 
> parse method (including i18n) meaning the correct locale is not yet available.
> Is there a way to fix this or to get around this limitation?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to