yes, i was able to read a file directly from a folder "data/abc.csv" using
normal java APIs. I didn't configure it as a resource or static file.

-Sanjith.

On Tue, Nov 3, 2009 at 4:15 AM, Jason (Google) <apija...@google.com> wrote:

> You should be able to read it if you put it in your war directory and
> configure it as a resource file. I believe the second step is done
> automatically -- all files are configured as both resource and static by
> default, though you can override it by following the instructions at
> http://code.google.com/appengine/docs/java/config/appconfig.html#Static_Files_and_Resource_Files
> .
>
> You should be able to read resource files using the same APIs that you use
> to read files from disk in other Java application environments.
>
> - Jason
>
> On Thu, Oct 29, 2009 at 2:21 PM, Andreas Blomqvist <
> blomqvist.andr...@gmail.com> wrote:
>
>> stupid question, but anyway
>>
>> I want to include a myData.csv file and read it from my app. Where do I
>> put it ? and what is the path to the file when I read it in the code?
>>
>> Thanks
>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to