It also works as follows;

I have an entry within the struts config file that looks like;

<message-resources parameter="com.mycompany.resources.ApplicationResources"  />

And within the package "com.mycompany.resources" i have the resource files;
ApplicationResources.properties
ApplicationResources_nl.properties

This works for me but i know that the application's classpath should
be used like McDonnell said. But i can't recall if they automatically
are loaded and how the entry should be in the struts config file if
that location is used.

On 6/8/05, Paul Goepfert <[EMAIL PROTECTED]> wrote:
> Just  a quick question, I have written a message resource foor part of
> my application.  I  have added the message-resource to my struts
> configuration.  However when I run my web app the properties file is not
> loaded.  I  know its the location.  Here is my  question, where in the
> web app directory structure do I place the propperties file?  I am
> asking on this list because it iis an entry in the struuts-config file.
> 
> -Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
JL [JavaLists dot com]
The mailing list resource for Java developers
http://www.javalists.com/
[EMAIL PROTECTED]

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

Reply via email to