Hi, I am using JRun 4 Application Server. I have a bean class which will read the database and convert the same in to XML file. This bean is instantiated and the method to create the XML is called. Now my problem is, I want to store the XML file in a specific directory on the server. Right now If I give just filename to the File object it stores it in the /bin directory. How do I pass the absolute path to the File so that it creates the XML file in the specified directory.
Do I need to use BeanContext. ?? If so how can I get the exact path to store my XML file from the JavaBean. Thanks for the time. Lakshmeenarayana G G CLI Division - SysArris Software Bangalore - India Tel. No. +91-80-665 4965, 665 5052, 664 2690 Xtn-240 Fax No. +91-80-665 0374, 655 4285 http://www.sysarris.com/ =========================================================================== 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