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 at
http://groups.google.com/group/google-ajax-search-api?hl=en.