Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top