Manish Kumar schrieb:

> I am trying to write a file on GWT Client ( inside the method 
> onModuleLoad )using BufferedWriter and FileWriter.

GWT compiles Java to Javascript and HTML. With that you're not
able to access the local filesystem of the client (aka browser).

So it's not surprising that there will be problems when trying
to use the corresponding classes of Java to do that. I'm won-
dering that you actually are able to compile that.

> These seem a bit sily errors as I might not have included some required 
> module or jar file,But troubling me a lot.

The Java-classes that can be used for a GWT-client is reduced.
Most of the writers and reader (and streams btw) are not
included.

> Can anybody please help me out to simulate which is the required
> for the same?

You can write a Java-Applet. When signing it with an (expensive)
certificate you can access the local filesystem of the client.
Using the Java-To-Javascript-engine and some JSNI-magic, you
should be able to access the filesystem with GWT (or any
other Javascrip-application).


Regards, Lothar

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to