Hi all - I want to write a file to the context dir where Im running my jsp file, and I'm using getRealPath : String tfilepath = application.getRealPath("/")+tcustid+tsep+tordernumber+".xml";
this will write the file in the same dir as the jsp file, however I want the file to be written in a different directory... does anyone know how to do this? I tried adding the dir name after the "/" but it didnt work! Does anyone know how to change the directory so my file will get written in my required directory? Thanks =========================================================================== 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