SOP in GWT 2.0

2010-02-09 Thread Lothrien
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.

Re: SOP in GWT 2.0

2010-02-09 Thread obesga
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 wrote: > In development mode I can access the xml file I want to read within > the GWT application - everything ok

Re: SOP in GWT 2.0

2010-02-10 Thread Lothrien
No, same result. On 9 Feb., 22:18, obesga 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 wrote: > > > > > In development mode I can access t

Re: SOP in GWT 2.0

2010-02-10 Thread lhoracek
Did you tried to see what URL/URI the browser requests before that SOP Exception? Im going through cross-domain comunication right now too .. but i done it through the iframe -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this

Re: SOP in GWT 2.0

2010-02-12 Thread Lothrien
GWT.getModuleBaseURL() -> in "Hosted Mode" http://localhost:/ModuleName -> in "Compiled Version" file://C:/PathToEclipseWorkspace/ModuleName/WAR/ On 10 Feb., 15:29, lhoracek wrote: > Did you tried to see what URL/URI the browser requests before that SOP > Exception? Im going through cross