You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vernon Wu <ve...@gatewaytech.com> on 2002/10/22 01:30:18 UTC
re. i18n
I saw the following statement in today mail archive.
Also keep in mind that the locality is stored in session. This means you
cannot switch languages while using the same session. The best way to test
is by setting your language, close and reopen your browser.
This statement is not true. The Pet Store allows users change the locale anywhere in the middle of session. You can
test out yourself by driving a demo version from
http://developer.java.sun.com/developer/technicalArticles/J2EE/deployathon3/
BTW, the locale information management, including changing locale method, demonstrated in the latest version PS is
not the best way by today's standard. Take a look at JSP/JSTL articales on onjava.com by Hans Bergsten.
Hope this helps.
Vernon
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>