This is not specific to the Struts ajax tags, HXR (ajax) calls can only be
done to the domain from where the page was loaded from. Dojo and other
frameworks use some neat tricks to get around this, but the Struts ajax tags
do not expose this Dojo functionality yet.
regards
musachy
On 4/9/07,
Thanks. Does that mean that the ajax tags allow only clients in the same
domain as the server to communicate with the server? Or does it mean that
clients (in any domain) can communicate only with the server that served out
the pages containing the ajax call?
--
Eduardo
On 4/7/07, Musachy
Sorry about that... cut and paste went crazy on me; let me try again. Here
is the JSP again:
%@ page language=java contentType=text/html;
charset=ISO-8859-1 pageEncoding=ISO-8859-1%
!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
%@ taglib
Dojo supports crossdomain XHR using IFrames, but the ajax tags do not
support it, yet.
musachy
On 4/7/07, Eduardo Kortright [EMAIL PROTECTED] wrote:
Sorry about that... cut and paste went crazy on me; let me try
again. Here
is the JSP again:
%@ page language=java contentType=text/html;
4 matches
Mail list logo