users
[Top] [All Lists]

properties file in WAR

To: "CinJUG (E-mail)" <users@xxxxxxxxxx>
Subject: properties file in WAR
From: "Herbers, Joe" <joe.herbers@xxxxxxx>
Date: Fri, 13 Jun 2003 17:27:11 -0400
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
Thread-index: AcMx8o0oUYnm/9UARbORV+tqH4/hHw==
Thread-topic: properties file in WAR

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);

<Prev in Thread] Current Thread [Next in Thread>