---
title: "JSP 中动态INCLUDE 与静态INCLUDE 的区别"
author: "icyheart"
date: "2008-10-15T09:54:36Z"
tags: []
categories: ["企业架构"]
slug: "jsp-include-include"
draft: false
lastmod: "2009-01-20T11:19:42Z"
id: 252980
url: "https://sucre.iteye.com/blog/252980"
---

```
动态INCLUDE 用jsp:include 动作实现。
<jsp:include page="included.jsp"
flush="true" />它总是会检查所含文件中的变化，适合用于包含动态页面，并
且可以带参数
静态INCLUDE 用include 伪码实现,定不会检查所含文件的变化，适用于包
含静态页面：<%@ include file="included.htm" %>
```