So it means I have to use 'Datastore Java API ', if I want to save
something. Am I right?

Thanks

On Jun 22, 2:53 am, Hariharan Anantharaman
<hariharan.ananthara...@gmail.com> wrote:
> GAE does not allow writing to a file or spanning threads. Its mentioned in
> the documentation.
>
> Thanks
> hari
>
>
>
> On Mon, Jun 21, 2010 at 5:22 PM, Lu <chenglu.annal...@gmail.com> wrote:
> > Hi,
>
> > I am trying to use FileOutputStream to print out results into a file,
> > but it is not supported by google app engine.
>
> > If I want to to write something to a file (on the sever side), what
> > should I do?
>
> > It seems like PrintWriter still does not work.
>
> > File file = new File("haha.txt");
> > if(file.exists()){
> >   System.out.println("here ");
>
> > }
>
> > PrintWriter pw = new PrintWriter(file);
>
> > I will get error that says 'Caused by:
> > java.security.AccessControlException: access denied
> > (java.io.FilePermission haha.txt write)'
>
> > 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-j...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2b­unsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine-java?hl=en.- Hide quoted 
> >text -
>
> - Show quoted text -

-- 
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-j...@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