RequestBuilder request to another gwt module (or servlet) on the SAME host and prot
Hi
I have a gwt app which is running on
https://myDomain.com/application1/Application.html
Then i have second application which is running on the same host,
servlet:
https://myDomain.com/application2/testApp
They both ar served by apache.
I try to send request
[CODE]
JSON_URL = "https://myDomain.com/application2/testApp";
final String url = URL.encode(JSON_URL);
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET,
url);
[/CODE]
This tries request to
https://myDomain.com/application1/%22https://myDomain.com/application2/testApp
It appends my url to the application1 url how i can solve this?
I tried GWT.getHostPageBaseURL() but it does return the host +
application1 name.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home