Thanks,
it solves my problems.
Bye,
Giorgio
Tim Funk wrote:
The best way is to use ServletContext.getResourceAsStream() to load a
file from your webapp. This is portable (and safest) to any servlet
container.
-Tim
Giorgio Franceschetti wrote:
Hi all,
I'd like to create a file with
Why not use a Properties file which you can get the class loader to locate
for you using call similar to:
properties.load(Thread.currentThread().getContextClassLoader().getResourceAsStream(/myfile.properties));
Just place the file at the root level of your (web project) source tree,
so that it
The best way is to use ServletContext.getResourceAsStream() to load a file
from your webapp. This is portable (and safest) to any servlet container.
-Tim
Giorgio Franceschetti wrote:
Hi all,
I'd like to create a file with some configuration details for my
application.
I tryed to reference