The <bean:message> tag uses RequestUtils to find a message - this looks for
a locale stored in session scope under the key "Action.LOCALE_KEY".

The usual way for the "locale" to be stored under this key is using the
<html:html locale="true"/> tag - if you dont use that, then struts will
always use the default locale.

But...if you are sure you never want an internationalized app then why don't
you do away with resource bundles altogether - just put all your messages
directly in the jsps?

Niall

> -----Original Message-----
> From: David White [mailto:[EMAIL PROTECTED]]
> Sent: 07 July 2001 17:37
> To: [EMAIL PROTECTED]
> Subject: No Need To Localize
>
>
> We are developing a web application using struts which will not need to
> be internationalized. Is there some way to tell struts NOT to look for
> and manipulate Locale's? In other words, there will always be one and
> only one resource bundle for tha application.
>
> Any pointer is appreciated.
>
> Thanks,
>
> David
>

Reply via email to