The URL is working fine without ajax. Yes standard port 443. The issue i think is making a https ajax request from a http page. I will check that plugin out.

-Mufaddal.

On Jan 12, 2008, at 2:16 AM, nuwan chandrasoma wrote:

Hi,

what is the port number you have configured to run SSL in your server? if its other than 443 you need to specify it in your URL. try to see your URL
is working in with out ajax.

if you like have a look at this plugin

http://code.google.com/p/struts2-ssl-plugin/

Thanks,

Nuwan



On 1/11/08, Mufaddal Khumri <[EMAIL PROTECTED]> wrote:

I am using prototype with Struts2.

One of my Ajax calls submits the login form (username and password)
to a struts action like this:

new Ajax.Updater(
        'modal',
        '/blog/authentication/login.action',
        {
                method: 'post',
                parameters: Form.serialize(loginForm)   + "&dt=" +
getTimeStamp()
        });

This works great. Now when I change this to:

new Ajax.Updater(
        'modal',
        'https://localhost/blog/authentication/login.action',
        {
                method: 'post',
                parameters: Form.serialize(loginForm)   + "&dt=" +
getTimeStamp()
        });

My ajax call does not make it through? Any pointers?

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to