I too do have the same problem. My bean updates a log file which is
accessed by an absolute path. "C:\Apache Software\Tomcat
5\webapps\myApp\log.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