No, same result. On 9 Feb., 22:18, obesga <[email protected]> wrote: > Making ../myfile.xml > you're telling the browser to access file into another server. > ¿ Cant you use "myfile.xml" on the base url of server ? > > Hope that helps > > On 8 feb, 23:25, Lothrien <[email protected]> wrote: > > > > > In development mode I can access the xml file I want to read within > > the GWT application - everything ok so far. > > When I compile the app and call it from the file system, this was > > working in v1.7.1, but now I get an SOP error(!) > > How can I get around this? > > > public String xmlfile= "../xml_with_content.xml"; > > > String xml = GWT.getModuleBaseURL() + xmlfile; > > RequestBuilder requestBuilder = new > > RequestBuilder(RequestBuilder.GET,xml); > > try { > > requestBuilder.sendRequest(null, new RequestCallback() { > > public void onError(Request request, Throwable exception) { > > requestFailed(exception); > > } > > public void onResponseReceived(Request request, Response > > response) { > > loadXML(response.getText()); > > } > > }); > > } catch (RequestException ex) { > > requestFailed(ex); > > }- Zitierten Text ausblenden - > > - Zitierten Text anzeigen -
-- 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.
