|
my web app directory structure is as
follows:
webapps/myapp/..........
If I have a jsp and a bean in the root directory,
and my bean refers to a file without a full path(ie. just the file name, no
absolute or relative path), where does it loook for the ?
WAIT.........
This happens in jsp/servlets AND beans. With
jsp servlets the default directory should be the root directory of the
app. The bean however seems to look for a file with an unqualified path in
the /tomcat/bin/directory.
I just want some rules of thumb to follow when I am
using beans and jsp/servlets that read and write files. How should I
refer to these external files. Where are their default directories in the
context I mentioned above?
|
- Re: *** Referring to a file or a directory from inside a ... Jonathan Asbell
- Re: *** Referring to a file or a directory from insi... Fernando Padilla
- Re: *** Referring to a file or a directory from ... Dominique BATARD
- RE: *** Referring to a file or a directory f... Brett Knights
- Re: *** Referring to a file or a directory f... Fernando Padilla
- RE: *** Referring to a file or a directory from insi... Randy Layman
- Re: *** Referring to a file or a directory from insi... qazwasyx
