You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lawlor, Frank" <Fr...@AthensGroup.com> on 2002/03/18 20:08:38 UTC

Re: Another directory question

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 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>