I'm using
tomcat 4.1.18. When I used tomcat 3.2 I had no problem with this. Here's what I discovered:
When I include a page (has a teeny bit of
JSP code, but mostly houses JavaScript code for client-side) as such:
<jsp:include page="/includes/header.jsp" flush="true" />
It only includes the bottom half of that header file. So half my javascript doesn't show up.
If i use the following:
<%@ include file="/includes/header.jsp" %>
I get a buffer overflow.
If I use the following:
<% getServletConfig().getServletContext().getRequestDispatcher( "/includes/header.jsp" ).include( request, response ); %>
NO PROBLEM AT ALL! Why is this?