Hi, I'm trying to use RequestBuilder to pull html files off my local
system and I'm getting the "...file.html is invalid or violates the
same-origin security restriction" error in IE 7, but in Firefox 3.5.7
it works fine. When I setup the call I'm using:

  String url=GWT.getHostPageBaseURL() + "file.html";
  RequestBuilder builder = new RequestBuilder(RequestBuilder.GET,url);

Since I'm not working off a server the url looks something like:

  file:///D:/some/dir/MyGWTApp/file.html

Since the file I'm trying to get is in the same space as the GWT
application I don't understand why it would be violating the same-
origin security restriction. I know that Ajax can do this, I've done
it before using Dojo.

My problem here is that I have a requirement that documentation be
shipped to customers on a CD rather than being accessed on the web.
What can I do to fix this, any help would be greatly appreciated.

Thanks,
David

-- 
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.

Reply via email to