I'm testing this in development mode and when I do the GWT.log and find the path, and type it in the browser I get the 404 file not found error. How do I make the file visible to http requests? Is there a place I should be storing the file, like a public folder under the war file or something?
On Mar 29, 11:44 am, Ben Imp <[email protected]> wrote: > I suppose the obvious thing to investigate would be whether ???/ > myfolder/report.html is visible to http requests. That will depend on > where exactly your code is writing this HTML file to and whether your > app server and/or web server allow reading from that location. > > -Ben > > On Mar 29, 10:26 am, azuniga <[email protected]> wrote: > > > > > > > > > I make a call to and rpc and the rpc returns a string. The string is > > the name of a business report generated, report.html. Now I want the > > client to embed this html in the app, so I use a Frame widget. Now I > > want to know how to instantiate this frame, since I have been trying > > Frame frame = new Frame(GWT.getHostPageBaseURL() + "report.html"); > > This is just returning a 404 - GET error. I tried passing back the > > path of the file, /myfolder/report.html, but that didn't work. I also > > tried getHostPageBaseURL() + "modulename/servicename/" + reportname > > but I get the same 404 error. My question is, what string do I have to > > pass back in order to be able to embed this page in my app? Is this > > even possible. I tried passing back the html as a string and it > > worked, but it took way too long for big business reports, approx 2 > > 1/2 minutes to render, and this is too long, so I'm trying other > > options. Any insight or advice is greatly appreciated. -- 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.
