You simply can't do that, hosted mode or not. > > [ERROR] Line 23: No source code is available for type > > java.io.FileReader; did you forget to inherit a required module?
java.io.*, java.net.*, java.util.concurrent.*, etc are packages that cannot be used within GWT's client side code. However, if you want to read a file (AFAIK the limitation is: not from disk, but from a given URL) you can use the RequestBuilder class, like this: http://www.gwtapps.com/doc/html/com.google.gwt.http.client.html Cheers --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
