Web apps in general cannot access random files on the client machine, which may (I'm not sure) have something to do with your problem.
To test this, try putting your file in a folder called public under the same parent folder as your client and server folders. This should get copied to a folder having the same name as your application under the war folder when you build your application (this is the folder where the GWT-generated Javascript resides, wrapped in uniquely-named HTML files). You should then be able to load the file from your application using an HTTP GET (e.g., using the GWT RequestBuilder class). On Jul 28, 8:26 am, Rumpole6 <[email protected]> wrote: > This may not be the right place for this, but: > > I am using the gwt plugin in eclipse under Windows XP to write an > small application and I am facing File Permission Errors trying to > access files in the server code when I run my app in hosted mode. I > suspect that there is an option to set somewhere which will allow me > to access the files. The Files are located in C:\Documents and Settings > \Barry\Application Data\Subversion. > > Thanks in advance. > > Barry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
