Thanks. I've also posted it under that group.

The question is also about how to save the results. For instance, I
can get 64 results. Is there any way I can create a file and write the
results to that file (of course on the server side)? It seems like
normal java I/O (inputstream or printwriter) is not working, but
theoretically it should, because on the server side, I can do any java-
related processing. Am I right?

Thanks,
Lu


On Jun 21, 8:50 pm, Jeremy Geerdes <[email protected]> wrote:
> This would appear to be an App Engine question. While there are a number of 
> people in this group who use App Engine, and have even worked on the 
> development of App Engine, your question would likely find a quicker and 
> better answer in the group linked below:
>
> http://groups.google.com/group/google-appengine
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.com
> [email protected]
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> Church!
>
> On Jun 21, 2010, at 3:41 AM, Lu 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 AJAX APIs" group.
> > To post to this group, send email to 
> > [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-ajax-search-api?hl=en.- Hide quoted 
> > text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to