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.

Reply via email to