Am trying to bring disparate system page reports together under one web app. This means using the jstl core import tag (I dont want to redirect as I want to hide the urls, this web app provides better security than those it calls).
Use of the import tag works to a degree but any resources (ie. img tags) don't load.
Have created a much simplified example that demonstrates..
So heres the jsp...
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<h3>Delivery Performance Report</h3>
<c:url value="http://localhost/mycontext/subpage.html" var="myUrl"/>
<c:import url="${myUrl}" />
and a simple sub page (note plain html, no jsp, this mimics my project as the other systems are hidden source, non jsp)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>sub page</TITLE>
</HEAD>
<BODY>
This is the sub page<br>
<img src="images/banner_image.jpg" />
</BODY>
</HTML>
While I dont get any errors what I do get is ..
Delivery Performance Report
This is the sub page
...but image fails to load.
If I redirect instead of import it works, but as I said I need to hide the url from the user as security is an issue.
Any help appreciated, really pulling my hair out with this final stage of something that will make a real difference to us!
regards,
G.