views:

336

answers:

1

Hi ,
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 above task

+2  A: 

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.

sri
Hi sri, thanks for the reply. I will look into it.
Zeeshan Khan