Thank you for your reply Ronald... I have just tried it doing a file.exists() and it returns true... The only thing I can think of is that somehow Ineed to give permission to Tomcat to allow file deletion but I do not know how... Any more suggestions?
Panos 11/12/2001 10:28:51, Ronald Wildenberg <[EMAIL PROTECTED]> wrote: >Hi Panos, > >I do not think you can say that a file exists if you can see its >absolute path. A file has a path, whether it exists or not. You >should try > file.exists() >for checking on the existence of a file. > > >Ronald Wildenberg. > >=========================================================================== >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". >For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". >Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > __________________________________________ "It can only be attributed to human error" 2001 A Space Odyssey =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
