Re: path in .java question

2011-09-02 Thread Theodore Petrosky
the path? Thanks, Ted --- On Fri, 9/2/11, Mike Schrag wrote: From: Mike Schrag Subject: Re: path in .java question To: "Ted Archibald" Cc: "Theodore Petrosky" , webobjects-dev@lists.apple.com Date: Friday, September 2, 2011, 11:07 AM In the general case, if it's a WebSer

Re: path in .java question

2011-09-02 Thread Mike Schrag
In the general case, if it's a WebServerResource, you can't count on being able to write to it because it could live on a completely different machine that is serving your webserver static resources in a split install. ms On Sep 2, 2011, at 10:57 AM, Ted Archibald wrote: > You should use WORes

Re: path in .java question

2011-09-02 Thread Ted Archibald
You should use WOResourceManager/ERXResourceManager On Fri, Sep 2, 2011 at 8:53 AM, Theodore Petrosky wrote: > I want to read a file when my app launches: > > File f = new File("AllCountries.txt"); > > I don't understand the path! if AllCountries.txt lives in the > WebServerResources folder, wha

path in .java question

2011-09-02 Thread Theodore Petrosky
I want to read a file when my app launches: File f = new File("AllCountries.txt"); I don't understand the path! if AllCountries.txt lives in the WebServerResources folder, what is the path I should use to access it? ___ Do not post admin requests to t