Ah, this is a good tip, will try it out!
If you run Tomcat from said folder
(C:\Program Files\Apache Software
u need is to find the current
I think System.out.println(new File(".").getAbsolutePath())
the working directory. It will have the "." at the end (at
windows), remember to remove it.
On 10/11/2011 1:28 PM, Paul Joseph wrote:
> Hi Andy,
> Thank you very much for your crystal clear explanation, I
get it now.
> Following your suggestion, I traced back the code and
find that the
> function below is the culprit. I wrote it in an attempt
to return the
> "root directory" of the Tomcat
application, and it has somehow managed
> to work in 32 bit Tomcat over