[google-appengine] Is it possible to create a file on App Engine server ?

2009-05-21 Thread Dog Eata
Hi, One of my servlet is suppose to build flat files (csv) so the user can download it on his computer. Each time I try to write in a file (i.e. try to open a PrintWriter) my access is denied. It doesn't even work on the development server. Here is the exception : java.security.AccessControlExce

[google-appengine] Re: Is it possible to create a file on App Engine server ?

2009-05-22 Thread Dog Eata
Thank you for the answer. My files are less than 1 MB so I will try to write it in the datastore. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-

[google-appengine] Re: Is it possible to create a file on App Engine server ?

2009-05-23 Thread Dog Eata
Thank you for the idea. Here is the java code I use in the servlet and it works nicely : protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ServletContext context = this.getServletContext(); String fileName = "n