开发者

Gwt How to call servlet/rpc through https from page originated from http

is there any way to call servlet or make a gwt-rpc call from gwt client and get back the response. Or to call RPC over https only for login purpose.

Please suggest any method or workaround to implement the开发者_JAVA技巧 above task


As I mentioned in your previous question, its a violation of same origin policy. You can't do it.

You can POST (using a FormPanel) to a https website, but you can't read the data back. Even such an approach is unsecure, because someone can easily spoof the post url.

The only way to stay secure is to serve all content via https.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜