R
RigasMinho
Hello,
A while back you guys helped me load in a properties file using jsp
code which went like this:
properties = new Properties();
URL myURL=application.getResource("test.properties");
InputStream in = myURL.openStream();
properties.load( in );
That worked 100% well.
Now i have a question about what to do to read in a file in websphere.
Like the properites file has a line where i read information from it.
logfile=/hugelogfile.log
This file is stored in the webroot directory.
How do i make it so that the log file is still accessed when in
websphere?
do i change the path too:
logfile=\\\\hugelogfile.log
or
logfile=d:\\webroot\\hugelogfile.log
Anyone know the answer to this?
Let me know -
A while back you guys helped me load in a properties file using jsp
code which went like this:
properties = new Properties();
URL myURL=application.getResource("test.properties");
InputStream in = myURL.openStream();
properties.load( in );
That worked 100% well.
Now i have a question about what to do to read in a file in websphere.
Like the properites file has a line where i read information from it.
logfile=/hugelogfile.log
This file is stored in the webroot directory.
How do i make it so that the log file is still accessed when in
websphere?
do i change the path too:
logfile=\\\\hugelogfile.log
or
logfile=d:\\webroot\\hugelogfile.log
Anyone know the answer to this?
Let me know -