Ludwig,
What is your dev language?
-Original Message-
From: Ludwig Magnusson [mailto:lud...@itcatapult.com]
Sent: Monday, November 23, 2009 11:24 AM
To: users@tomcat.apache.org
Subject: Problems finding the right filepath
Hello!
We are a team developing a webapp running on a tomcat
From: Ludwig Magnusson [mailto:lud...@itcatapult.com]
Subject: Problems finding the right filepath
We are a team developing a webapp running on a tomcat server.
What version of Tomcat? (Be precise.) What JVM?
We need to list the files in a certain directory in our
application, but we
Or... maybe within a initialization parameter for a servlet if you are
using Java
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Monday, November 23, 2009 11:59 AM
To: Tomcat Users List
Subject: RE: Problems finding the right filepath
From
: den 23 november 2009 19:02
To: Tomcat Users List
Subject: RE: Problems finding the right filepath
Or... maybe within a initialization parameter for a servlet if you are
using Java
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Monday, November 23
: Monday, November 23, 2009 12:17 PM
To: 'Tomcat Users List'
Subject: RE: Problems finding the right filepath
We are running Tomcat 6.0.20.
The JDK is 1.6 but not the exact same version on all machines. My
computer
has 1.6.0.17, the server has 1.6.0.07
We are developing on both windows and mac
Thank you, that one worked.
/Ludwig
-Original Message-
From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com]
Sent: den 23 november 2009 19:25
To: Tomcat Users List
Subject: RE: Problems finding the right filepath
Ludwig, it's been a while, but there used to be a function
...@itcatapult.com]
Sent: Monday, November 23, 2009 12:17 PM
To: 'Tomcat Users List'
Subject: RE: Problems finding the right filepath
We are running Tomcat 6.0.20.
The JDK is 1.6 but not the exact same version on all machines. My
computer
has 1.6.0.17, the server has 1.6.0.07
We are developing on both
From: Ludwig Magnusson [mailto:lud...@itcatapult.com]
Subject: RE: Problems finding the right filepath
Thank you, that one worked.
Again, getRealPath() is not guaranteed to return anything - it's up to the whim
of the container. To quote from the API doc:
This method returns null