Client side GWT is bound by what is allowed by the browser's Javascript sandbox, and file io is decidedly NOT allowed, and therefor not emulated in GWT.
There have been various projects that use Flash, or java applets to work around that restriction, but those are no panacea either. File upload (from within a form) is pretty much the only native way to access the local filesystem, and it doesn't allow you to manipulate the selected files on the client without a round trip to the server first. -jason On Jun 4, 2009, at 1:16 AM, abbu wrote: > > Hi all, > Is java.io.File present in the gwt emulation jre library? > If it is present i'm not able to access it on the client side. im > getting an exception upon start up of application asking to inherit > the required module. > > if java.io.File is not present in the emulation library, is there any > replacement avalible from gwt side for it? > > Please tell me how to create File instances on the client side? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
