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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---