Register / Login
this forum made possible by our volunteer staff, including ...
Jesper de Jong
Stephan van Hulst
file locations in Netbeans project and in glassfish
posted 5 years ago
I am writing a web servce using a configuration file:
My problems are:
A) where, phisically, I have to put the file in the directory structure of project?
B) how I have to declare the relative path as glassfish, at run time, can read it?
For example, if I put the file in ..\src\conf (the directory is already existent by default) how i have to declare the relative path in the code to find it at run time?
I use Netbeans 7.0 and Glassfish 3.1
Boost this thread!
Read Text File Using Relative Path.
referencing csv/text file for Java EE web application
Incorrect paths in Netbeans
Returning array To Method