error.jsp

<%@ page contentType="text/html; charset=euc-jp" %>
<!-- pass a variable to included page -->

<% request.setAttribute("color", "white"); %>
<% request.setAttribute("title", "Compilation Error Handling"); %>

<%@ include file="header.jsp" %>

<%
	// Following is an intentional error
	// The 'a < 10' should be 'i < 10'

	for(int i=0;a < 10;i++) {
%>
	Hello World<br>
<%
	}
%>

<br>
<br>

<jsp:include page="viewsource.jsp"/>
<%@ include file="footer.html" %>

</BODY>
</HTML>