Subject: How to automaticlly set the locale according to user's request
From: "Alex Kwan" <[EMAIL PROTECTED]>
 ===
Hi, All
    I want to build a multilanguage site with structs. As we all know, the
response encode the content to client using the charaterset defined by
setLocale() or setContentType().If the we don't set the locale, it will use
the default "ISO-8859-1".
Now the question is:
1.I want to setLocale() by the value get from request.getLocale(), but how
can I set the struts to automaticlly finish this process.
2.How can I set the web to make jsp also automaticlly encoding the content
using the client locale setting.

Thanks.



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

Reply via email to