Christian,

That's what I've been doing and it works fine, but I would love to hear
other suggestions.

Jay Armstrong
[EMAIL PROTECTED]

At 10:19 PM 12/28/00 +0100, you wrote:
>I'd recommend putting it anywhere below the web application directory (the
>one under which WEB-INF is located) and using
>servletContext.getResourceAsStream(), e.g.
>getResourceAsStream("/myfile.properties") if you put it into the wepapp root
>
>----- Original Message -----
>From: "John Pletka" <[EMAIL PROTECTED]>
>To: "Orion-Interest" <[EMAIL PROTECTED]>
>Sent: Thursday, December 28, 2000 7:36 PM
>Subject: Where to put bean property files
>
>
>> I have a bean that I'm trying to use in a jsp page that requires a
>> .properties file to initialize itself.  It looks for the properties file
>in
>> the current directory (new FileInputStream("fileName.properties")).  I've
>> tried putting the file in the lib directory, the WEB-INF directory, the
>> META-INF directory, in the same directory as the .jsp file and even in the
>> jar file of the bean, but I always get "FileNotFound" exceptions.  Where
>is
>> the proper place to put configuration files?
>>
>
>
>


Reply via email to