struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mufaddal Khumri <mkhu...@allegrocentral.com>
Subject Secure ajax call using prototype to a struts action ....
Date Fri, 11 Jan 2008 17:20:45 GMT
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.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message