WebContent/basic/headimage.jspf
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<img src="인터넷 이미지 uri주소를 여기다 복사해주자~">
day02_07.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%@ include file="./basic/headimage.jspf" %><br/>
include file과 jsp:include page 의 차이점:<br/>
-include file은 파일 내용 전부를 copy&paste 한 것과 같다.<br/>
-jsp:include page: 해당 jsp파일을 실행하고 그 것을 여기서 보여주기<br/>
<table border="1" width="1000">
<tr>
<td width ="500">
<jsp:include page="day02_01.jsp" flush="false">
<jsp:param value="brown" name="background"/>
</jsp:include>
</td>
</tr>
<tr>
<td width ="500">
<jsp:include page="day02_02.jsp" flush="false"></jsp:include>
</td>
</tr>
<tr>
<td width ="500">
<jsp:include page="day02_03.jsp" flush="false"></jsp:include>
</td>
</tr>
<tr>
<td width ="500">
<jsp:include page="day02_04.jsp" flush="false"></jsp:include>
</td>
</tr>
</table>
</body>
</html>