You can also just fetch the generated webapp and pass the html to your
jsp page as a string.
http://www.javapractices.com/topic/TopicAction.do?Id=147This does give your server a performance hit every time the remote
page is accessed, but eliminates a lot of setup and deployment
problems.
On Fri, Jul 3, 2009 at 11:45 AM, Lucas F. A. Teixeira<
lucastex@...> wrote:
> 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