I have a EDI process where the supplier sends me the URL to go to.
I am having trouble as it always wants to stay inside ofbiz.
I pass "www.yahoo.com" into my redirect page (ftl).
And
<script language="JavaScript" type="text/javascript">
window.location = "${resultUrl}";
</script>results in:
<a href="http://172.16.6.59:8080/fia/control/http://www.yahoo.com">http://172.16.6.59:8080/fia/control/http://www.yahoo.com
Any help is appreciated.
I tried doing the redirect in my java service that talks to the supplier using
response.sendRedirect(resultUrl);
but it did not seem to redirect at all?
I am getting the response HttpServletResponse response = (HttpServletResponse) context.get("response");
as this java is a service.
Joel Fradkin