I'm kind of new to JSP, and am working on putting together a framework wherein I include common elements of a page (title bar, menu, etc.) in a single WAR file and then attach those elements to my content pages that belong to another WAR file.
The problem I'm running into is that my include statements in my content pages don't work when I try to include items from the different WAR. I can bring the included pages up, but can't get a JSP to include them.
<h4>Example:</h4>
In shared.war, I have the file /htmlcommon/header.jsp. In search.war, I have the document /search.jsp
In search.jsp, I have the following include statement:
<jsp:include page="/shared/htmlcommon/header.jsp"/>
However, when I load the page, the header doesn't come in and I get an error 404 - not found.
I'd appreciate any thoughts on this. Thanks much
Michael Lundin
michael.lundin@summitsite.com