---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- I have a simple servlet, used to test the file's process in linux. I met exception problem. The main part in testfile.java is " String realpath = req.getRealPath("/"); out.println ("realpath= "+ realpath); try { // DataOutputStream dos =new DataOutputStream(new FileOutputStream(new //File(realpath+ "data/test/" + "test.dat"))); DataOutputStream dos =new DataOutputStream(new FileOutputStream(new File("test.dat"))); dos.writeInt(100); dos.close(); } catch(IOException e) { out.println ("exception occured." ); } " This can be done in JRUN with win32. Why? Please help me. WangJun System Analyst Senior Technic Supporter ___________________________________________________________________ Beijing Jingqi Xishu E-business Ltd. MAIL:[EMAIL PROTECTED] URL: http://www.jingqi.com TEL: (010)67082700 - 203 (010)67082703 - 203 FAX: (010)67082705 -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
