GWT uses the browser's mechanisms for contacting the server, so yes,  
GWT does support SSL at least as far as the browser allows.

This does mean that if you attempt to connect to an HTTPS address  
using XHR when your host page was loaded from HTTP, you will be met  
with the browser's Same Origin Policy (SOP) which will prevent the  
connection.

However, I do believe that a regular form post can be sent to a  
separate server, BUT you will not be able to read any response.

There are other tricks that you can use to communicate with servers  
that violate SOP, and they are discussed at length in this and other  
forums (try searching for JSONP for instance)

-jason

On Sep 14, 2008, at 5:29 PM, [EMAIL PROTECTED] wrote:

>
> Hi,
>
> does gwt support ssl?
> i tried tu send data by a form to a servlet that accept only ssl
> connection but response from servlet returns status code 302...
> If i send data to servlet using normal http program works fine.
> I use Tomcat 6.0.
>
> Thanks.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

  • ssl and gwt [EMAIL PROTECTED]
    • Re: ssl and gwt Jason Essington

Reply via email to