« Return to Thread: Grails - J2ee integration

RE: Grails - J2ee integration

by Ruchi Singhal :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

Can u give an example how I can embed the grails app in a jsp div with ajax call u just mentioned?

 

TIA,

 

Ruchi

 

From: Lucas F. A. Teixeira [mailto:lucastex@...]
Sent: 03 July 2009 19:31
To: user@...
Subject: Re: [grails-user] Grails - J2ee integration

 

exactly

Lucas Frare Teixeira .·.
- lucastex@...
- blog.lucastex.com
- twitter.com/lucastex

On Fri, Jul 3, 2009 at 10:33 AM, Felipe Rodrigues <felipero.maillist@...> wrote:

The Ajax call will only see the rendered html. The GSP is parsed an server level, so you don't need to care about that.



Ruchi Singhal wrote:

Yes are doing ajax, but how can we render a gsp from a grails app inside a  div of a jsp f a j2ee app?

 

From: Lucas F. A. Teixeira [lucastex@...]
Sent: 03 July 2009 16:15
To: user@...
Subject: Re: [grails-user] Grails - J2ee integration

 

You can do this asking via ajax to the grails app.
But since apps are in different servers, you'll need to set up some apache in front of them, so the grails app have to respond in the same domain from the other one. otherwise you won't get this working (crossdomain vunerability).

[]s,


Lucas Frare Teixeira .·.
- lucastex@...
- blog.lucastex.com
- twitter.com/lucastex

On Fri, Jul 3, 2009 at 2:24 AM, Ruchi Singhal <rsinghal@...> wrote:


Hi All,

I wish to do very simple thing -

In one of the divs in a JSP of my existing J2ee application I wish to render
a grails app(ajax based).I  could achieve this by simply using an iFrame,but
I dodnot wish to use it for performance reasons.Is there any other way out

Please note that the J2ee app and grails app are on 2 different servers.

Any pointers would be very helpful

Thanks In Advance
Regards,
Ruchi
--
View this message in context: http://www.nabble.com/Grails---J2ee-integration-tp24317781p24317781.html
Sent from the grails - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
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

 

 « Return to Thread: Grails - J2ee integration