Hi,
I have a scenario, where in from my spring application I am communicating with a
soap webservice that returns HTML response something like below:
<![CDATA[<HTML><HEAD></HEAD><BODY>................<script language="javascript">...</script>></BODY></HTML>]]>
Now I have to render this response in the browser, this HTML code is basically redirecting to another site.
My approach: we can set this html response in the request in spring controller, and after this we can forward the request to a blank
jsp, and onload of blank jsp we can retrieve the html set in the request and render it using innerHtml,
and once the html is rendered it can redirect to a different site.
Please suggest if this is good appraoach or there is some other to achieve this.
Thanks,
Shiv