|
From: albartell Note that there are limitations on being able to go at another domain. Or maybe better put is that I don't believe you can execute an AJAX request to a server other than the one you came from because of security concerns. Can anybody confirm that? I ran into this while doing XSLT processing (nothing to do with AJAX but doing a similar concept in trying to consume a resource on another server).
Yup, this is correct. In fact, you can't even specify the URI portion of the URL. You can theoretically get around this by using a proxy server, although I haven't tried it. Note that in my open source framework (AIRPort) I use HTML as my transport protocol. Each span in my overall page (the "terminal") has a number of panes ("gates" - yeah, I know, the terminology is cutesy, but it's easy to remember) and each gate is loaded from a different JSP page. What's nice about this technique is that I can debug the individual JSP pages outside of the Ajax framework and then just plug them in. Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.