<%@ 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>Include Directive </title>
</head>
<body>
<% String name="yoon"; %>

<%@ include file="top.jsp" %>
포함하는 페이지 includedirective.jsp의 내용입니다. 
이렇게 include 하여 사용하면 편리합니다.
<%@ include file="bottom.jsp" %>

</body>
</html>