> 1) Why does the globalResources.properties live under /WEB-INF/classes? Is 
> there a way to configure this differently?

I'm not an expert but I'll try to help...
The properties file is loaded using a ClassLoader.  So the short
answer is that the /WEB-INF/classes folder is on the class path by
default.

> 2) The book says the following:
>    The message tag is one of the most widely used tags within teh Struts tab 
> libraries. It recives an internationalized message for the specified locale, 
> using the specified message key, and writes it to the output stream.
> I could use some clarification as to what that statement means.
> I interpret it, as I can use a .properties file for different messages??

You can define different properties files for different locales.  This
way, you externalize these strings.  The file that gets loaded depends
on the locale that is set.  You could create a
globalResources_es.properties file for Spain.  This would contain all
of your messages in Spanish.  Then when the Locale was set to Spain
these messages would be loaded instead of your default messages.

-- Corey

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

Reply via email to