How to pull in html from external url in GSP page

admin

Administrator
Staff member
I'm fairly new to Grails and can't seem to find a solution this problem.

I'm looking to pull in html from an external url and have it output on a GSP page. Something like this (knowing this doesn't actually work):

Code:
<g:render template="http://somesite.com/wp-admin/admin-ajax.php?action=include_banner" />

The reason I want to pull this html in is because we have duplicating html between our grails app and our wordpress instance.

Any help would be appreciated.