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 protected]> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/ted.archibald%40gmail.com
> 
> This email sent to [email protected]
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to