[appengine-java] Re: filereading error

2010-02-17 Thread cscsaba
Hello Stephan, I have tried several combination of include path without result. http://imagebin.org/85235 It seems to me something other factor prevent reading this csv. Have you tried to read resource file on GAE ? On Feb 17, 7:22 pm, Stephan Hartmann wrote: > i think the correct pattern is "*

[appengine-java] Re: filereading error

2010-02-18 Thread cscsaba
Hello Stephan, The leading slash was the problem. Thanks for your help really. cscsaba On Feb 17, 8:32 pm, Stephan Hartmann wrote: > How do you access your file? > I use > > ServletContext.getResourceAsStream("/csv/countries.csv"); > > If you use java.io.File, AFAIK you have to use a path relat

Re: [appengine-java] Re: filereading error

2010-02-17 Thread Stephan Hartmann
How do you access your file? I use ServletContext.getResourceAsStream("/csv/countries.csv"); If you use java.io.File, AFAIK you have to use a path relative to your webapp folder without leading slash, e.g. new File("csv/countries.csv"); regards, Stephan 2010/2/17 cscsaba > Hello Stephan, >