You should be able to put the file in WEB-INF/classes
as this location will always be on the classpath.
tim
--- "Herbers, Joe" <joe.herbers@xxxxxxx> wrote:
> I'm trying to create a WAR file to deploy an app.
> One class references a resource file called
> message.properties via the following code. Where in
> the WAR should/can I put the properties file? In
> the root? I think it needs to be in the classpath,
> so I do I need to put a CLASSPATH statement in
> Manifest.mf or can I put it somewhere that will
> automatically be in the classpath? Thanks.
>
> bundle =
> ResourceBundle.getBundle("Message",userLocale);
>
>
=====
Timothy S. Dennison
Consultant
Cardinal Solutions Group
client: (513)412-3943
office: (513)984-6700
cell: (513)706-0365
email: tdennison@xxxxxxxxxxxxxxxxxxxxx
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
|