When you try to load files the way you do, it tries to load the file from the 'current directory'. The problem here is that the current directory keeps moving depending on how you start your application, and it's not very useful in a web application anyway.
In web based applications you should keep your properties file inside the application and there are two common ways to do this. You'll find a useful discussion here.
Joined: Jan 09, 2005
Hi. Thanks for the guidelines. Managed to access the .properties file already.