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 WOResourceManager/ERXResourceManager
On Fri, Sep 2, 2011 at 8:53 AM, Theodore Petrosky <email@hidden> 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, what is the path I should use to access it?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|