I spent the last 5 months developing the gwt application, and now it’s the time when third-party people start using it. In preparation for this, one of them set up my application behind a reverse proxy server, and this immediately led to problems with browser policies with the same source code. I assume there is a problem in the response headers, but I cannot rewrite them in any way so that the problem disappears. I tried this
response.setHeader("Server", request.getRemoteAddress());
in some naive attempt to imitate the behavior I want. Doesn't work (to anyone's surprise).
Anyone who knows anything about this is likely to giggle and shake their heads while reading this, and I don't blame them. I will also giggle if it were me ... I don’t know anything about it, and this, of course, makes this problem terribly difficult to solve. Any help at all would be greatly appreciated.
How can I get the header to rework and get away from the SOP issues I'm dealing with?
Change . The exact problem I get is a pop-up saying:
"SmartClient cannot directly contact the URL ' https: // localhost / app / resource? Action = ' doStuffs'" due to browser policies of the same origin. Delete the host and port number (even if localhost) to avoid this problem, or use the XJSONDataSource protocol (which allows cross-site calls), or use the server-side HttpProxy included with SmartClient Server. "
But I do not need smartclient HttpProxy, since I have a proxy server on top of the server, should I? I have no indication that this might be a serialization issue, but maybe this post is hiding the real problem ...
chris_l saret , , chris_l. , . , , . , !