I am writting some sort of a proxy & uses HttpClient to execute the request. The HttpClient does the request (POST) as expected & I can see that the answer is coming. I just need to copy the HttpResponse received as the Struts "full" response. This prooved to be more challenging than expected as the simple copy of the whole reponse is currently NOT OK. I stored the whole HTML-response in the variable content : <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> <s:property value="content" /> does not fill the page with the HTML-content retrieve from the other request and writing directly on the Struts response : response.getWriter().write(content); Any idea would be appreciated ... as it is basically copying an HTML content from one to the other !!! \T, --
--
Thomas Lionel SMETS, CISSP (385434) m : +32 497 44 68 12 ph : +32 2 852 3341 skype : thomas.lionel.smets PGP = FDF0 8FB8 4F37 3F79 1011 05AB 0DCE 9BAB 5DD0 0E10 |
<<attachment: tsmets.vcf>>
signature.asc
Description: OpenPGP digital signature