Hello all, Thanks a lot for your valuable replies.
But I am not yet come to a solution. When I put the absolute hard drive path, eclipse hosted browser reads the file well. But when I try to use some path in the server I am not getting a way to find the Server root path from the RemoteServiceServlet. Also I am deploying my application in a war file, So I have to choose a different directory from my application directory. And GWT should permit to read a file locate outside the application directory. At client side files I can use GWT.getModuleBaseURL(), but what I will have to use in the Server files to get the root URL? On Jul 10, 1:33 am, "kelvin.huang" <[email protected]> wrote: > Hi Raul, > > Try this link, it should solve your problem. > > http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa... > > Window.open(GWT.getModuleBaseURL() + "ServletName?filename=" + > filename, "_self", ""); > > Regards > Kelvin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
