SSL AJAX jQuery

Spec Apache2,Tomcat6,jdk1.6,struts2,Ajax,jQuery

My question :

A web site working perfectly on Http mode(apache2 http + tomcat + struts2 )

is NOT able to work in Https (apache2 https + tomcat + struts2)

Has ajax /Jquery got to do any thing with SSL enabling ???

with regards Karthik

Neither AJAX or jQuery care whether you are using HTTPS or HTTP. The only thing to watch out for is if you mix HTTP and HTTPS, i.e. you have an HTTPS page, but your src attributes for your script includes have http:// rather than https://

If you have tested the same page and scripts on HTTP and it works, then you probably aren't encountering a cross-site scripting issue, as that would be an issue on HTTP and HTTPS.

Therefore, it is likely that something else is causing a problem - can you provide more details of the error?

In Ajax mixing HTTP and HTTPS even on the same domain violates the Same-Origin-Policy as it is a different protocol and a different port.

You have to provide all your content by the same server instance (same domain, port and protocol).