| View previous topic :: View next topic |
| Author |
Message |
Hasan Babu H Guest
|
Posted: Wed Jul 07, 2004 5:32 am Post subject: relative path |
|
|
I too do have the same problem. My bean updates a log file which is
accessed by an absolute path. "C:Apache SoftwareTomcat
5webappsmyApplog.txt". But due to this it's difficult for me to
port my application to a different machine. Each time i have to edit
the java file and recompile.
Is there any way to find the current filepath at run time. This
would solve many of my tomcat problems.
Hasan Babu H
|
|
| Back to top |
|
 |
Madhan Guest
|
Posted: Wed Jul 21, 2004 8:05 pm Post subject: Re: relative path |
|
|
Asad:
I hope you deploy the JSPs in either web or app server. These servers
have a root directory. I think '/' inside the JSP always refer to this
root directory and you dont need to mention WEB-INF. It is
automatically identified by the server. So try to remove that and run
again.
Hope this might help.
|
|
| Back to top |
|
 |
|