Well, I really need to create a file on the server side and write on
it whatever the user types on a text area.... is there any onther way
to accomplish this?


On Aug 3, 10:30 am, Jason Parekh <jasonpar...@gmail.com> wrote:
> No, unfortunately you don't have file system access on App Engine.  You can
> store data in databases, but you won't have any file handlers to that data.
> jason
>
> On Mon, Aug 3, 2009 at 11:25 AM, Sednus <sed...@gmail.com> wrote:
>
> > yes, it is runnning on App Engine, if it's not supported is there
> > anyway to make this happen?
>
> > public class CompileServiceImpl extends RemoteServiceServlet
> > implements
> > ICompileSercvice {
>
> >        public String compile(String code) {
> >                try
> >                {
> >                        File file = new File("temp.c");
> >                        System.out.println("file created");
> >                        BufferedWriter out = new BufferedWriter(new
> > FileWriter(file));
> >                        out.write(code);
> >                        out.close();
> > }}
> > On Aug 3, 8:38 am, Jason Parekh <jasonpar...@gmail.com> wrote:
> > > In addition to what Nathan requests, is your backend running on App
> > Engine?
> > > They do not support FileWriter.
>
> > > jason
>
> > > On Mon, Aug 3, 2009 at 7:16 AM, Nathan Wells <nwwe...@gmail.com> wrote:
>
> > > > would you mind posting the code of the class you are trying to make
> > > > work? it would be nice to see the package name and imports, as well as
> > > > how you are using the FileWriter.
>
> > > > On Aug 2, 1:42 am, Sednus <sed...@gmail.com> wrote:
> > > > >    Hi,
> > > > >         I am tring to implement a service using RPC, this service
> > > > > should be able to take a string (originally written by user on a text
> > > > > area) and save it into a text file onto the server side.  My problem
> > > > > is that when I create the FileWriter object Eclipse says that
> > > > > FileWriter is not supporteed by gwt.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to