Re: Another directory question

2002-03-18 Thread Lawlor, Frank
How are you writing the file? Using the File class you can specify the desired directory. The file path to your app is getServletContext().getRealPath("/") If you have java security enabled, you need to give your app permission to write there. Frank Lawlor Athens Group, Inc. (512) 345-0600 x1

Another directory question

2002-03-17 Thread Ryuji Yokoyama
Hello All! I tried to write a file to current directory by servlet. However, my servlet writes a file to C:\winnt\system32 directory. How can I change the directory? I know I can use relative path in my servlet, but I want to know if it is possible to change the directory or not. I am using