March 14th, 2003, 09:06 AM
problem with <%@ include file=
I'm just trying to include a header and footer section. The code I'm using inside the <body> tags is:
<%@ include file="header_logged.jsp" %>
<%@ include file="footer.htm" %>
have I left out somehing because they're not working? The footer.htm is working fine though the header_logged.jsp file has a few errors.
March 14th, 2003, 12:16 PM
You are using a static include. This includes all the contents of the specified file at compile time. You may want to use the dynamic include instead. This parses and includes the specified file at run time.
To use a dynamic include you would use:
Hope this helps
<jsp:include page="header_logged.jsp" />
<jsp:include page="footer.htm" />