In my application, I am trying to upload files to be stored in the directory [application root]/files. To get the path to write files to, I am using: request.getSession().getServletContext().getRealPath("/files");
However, this is returning the directory: "apache-tomcat-6.0.16/temp/#-Application/files" where # is a number 0-9. I thought it was supposed to return the path "apache-tomcat-6.0.16/webapps/Application/files" Am I gong about getting the path incorrectly, or do I need to change a configuration somewhere in Tomcat? --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]