Try to use GWT RPC in our application. Our application serve static content and dynamic content with different base url. for example, url to foo.jsp may have http://localhost/context/foo.jsp served by websphere, for img/js inside that jsp, we will have url like http://localhost/uistatic/foo.js, served by iis, and GWT generated code will be included as http://localhost/uistatic/......
Now, when using GWT RPC, the modulebaseurl GWT default will actually point to http://localhost/uistatic/ which is not correct one, for calling rpc service, we can override ServiceEntryPoint by doing following (using HostPageBaseURL): serviceDef.setServiceEntryPoint(GWT.getHostPageBaseURL() + GWT.getModuleName() + ......); However, to use serializable DTO for rpc call, GWT load serialization policy file by using modulebaseurl which again is wrong (http:// localhost/uistatic/), anyone know how to override it, or any other suggestion are welcome. Thx Bing -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.