Unless the file is at an already known, absolute location, you need some
way to determine the correct path to it. If it's part of your WAR, and
the WAR could have been deployed anywhere (according to where the
container is installed, etc.) then you will need a way to figure out the
correct path
Hi Laurie. Actually, I am not using any method to determine the path of
the file. Should I be doing that? In general, where should one place files
used for I/O within the WAR structure? Thanks for your help.
- Asad
On Thu, 7 Sep 2006, Laurie Harper wrote:
Asad Habib wrote:
I am trying to re
Asad Habib wrote:
I am trying to read from a file using a utility class that I invoke from
an action. However, my application is unable to find the file and a
java.io.FileNotFoundException is thrown. I have tried placing the file
in /WEB-INF/classes as well as the root directory of the applicat
3 matches
Mail list logo