the ServletResponse provides a setLocale() method to modify the locale of a response which is not commited yet. The PortletResponse doesn’t provide such a method, only getLocale() – is there any other way to change the locale of a portlet request/response?
the ServletResponse provides a setLocale() method to modify the locale of a response which
Share
No. This would not be meaningful in portlets – they are only a component of an aggregate response.
The Portlet 2.0 spec (JSR 286) confirms this: