See third reply, GAE doesn't support writing new files..use the data store instead:
http://code.google.com/appengine/kb/java.html#writefile On Apr 9, 12:01 pm, andrew19881123 <[email protected]> wrote: > ih... i have a problem again in writing in a file.. i'm sorry but i'm > a newbie in GWT > > [...] > import java.io.FileWriter; > [...] > private void postFile(String fileXml) { > try { > ServletContext sc = > this.getServletConfig().getServletContext(); > BufferedWriter out = new BufferedWriter(new > FileWriter(sc.getRealPath("/blabla.xml"))); > } catch (Exception e) { > e.getStackTrace(); > } > } > > i have the following error: in FileWriter: java.io.FileWriter is not > supported by GAE's JRE. Why? > i need to complete this method for writing in the file a String > fileXml.. how can i do? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
