Hi,
I need to call a servlet from my GWT application. It all works fine,
except that I appear to need different code for hosted mode versus
deployment in Tomcat. In hosted mode, this works:
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, URL
.encode("/IDServlet"));
And when I deploy my application to Tomcat, only this works:
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, URL
.encode("IDServlet"));
The difference is the '/' before IDServlet.
This is rather a nuisance. What can I do about it?
Thank you for your help, and with kind regards,
Michel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---