> //get a handle to some temporary file and open > //a stream to it > String tempDir = servlet.getTempDir(); > if (tempDir == null) { > tempDir = System.getProperty("java.io.tmpdir"); > } > Michael, A servlet container implementing 2.2 or later is required to provide a servlet context attribute named "javax.servlet.context.tempdir" (an object of type java.io.File) that is a writeable directory that this webapp can use for temporary files. It might be better do use this, rather than the "java.io.tmpdir" directory which is global to the entire application server you are running in. Craig
- RE: File upload taglib doesn't compile under tomcat 3.... Schachter, Michael
- RE: File upload taglib doesn't compile under tomc... Schachter, Michael
- Re: File upload taglib doesn't compile under ... Incze Lajos
- Re: File upload taglib doesn't compile un... Craig R. McClanahan
- RE: File upload taglib doesn't compile un... Craig R. McClanahan
- RE: File upload taglib doesn't compile under tomc... Schachter, Michael
- Re: File upload taglib doesn't compile under ... Incze Lajos
- RE: File upload taglib doesn't compile under tomc... Stephen Earl
- RE: File upload taglib doesn't compile under tomc... Schachter, Michael