Plugin for Cross-Domain Ajax Proxy

Plugin for Cross-Domain Ajax Proxy

Is there an existing solution for adding a proxy service to a Grails
app? I want to be able to do cross-domain Ajax requests and need a
proxy service to do it. I'm thinking about wrapping an existing
ProxyServlet in a Grails plugin. Is there a better approach?

-- Sean

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

Is there an existing solution for adding a proxy service to a Grails
app? I want to be able to do cross-domain Ajax requests and need a
proxy service to do it. I'm thinking about wrapping an existing
ProxyServlet in a Grails plugin. Is there a better approach?

-- Sean

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

RE: Plugin for Cross-Domain Ajax Proxy

Have you tried using jsonp?

Look at jquery and jsonp for cross domain ajax.

It does not do everything, but it does do some things.

On Mon, 2009-08-31 at 11:38 -0700, Michael Smyers wrote:

> My spidey sense is going off. If you don't do authentication on this, you can become a proxy for all of China.
>
> I dont know of existing solution. Pick up groovyx for the HTTP calls.
>
> -----Original Message-----
> From: Sean Gilligan [mailto:[hidden email]]
> Sent: Sunday, August 30, 2009 9:55 PM
> To: [hidden email]> Subject: [grails-user] Plugin for Cross-Domain Ajax Proxy
>
> Is there an existing solution for adding a proxy service to a Grails
> app? I want to be able to do cross-domain Ajax requests and need a
> proxy service to do it. I'm thinking about wrapping an existing
> ProxyServlet in a Grails plugin. Is there a better approach?
>
> -- Sean
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email>
>

Re: Plugin for Cross-Domain Ajax Proxy

I got a nice pull request from Burt Beckwith with a ton of cleanup in it
-- thanks, Burt! I have merged it in to the repo. Burt suggested we
rename the plugin to the Grails Ajax Proxy Plugin. After accepting his
changes, I renamed the repository accordingly and GitHub doesn't provide
forwarding URLs.