jsp指令

1.include指令:在当前页面用于包含其他页面。
语法:<%@ include file=”common/header.jsp”%>
2.page指令:告诉tomcat服务器如何翻译jsp文件
3.taglib指令:
<%@ page
language=”java” 使用什么语言翻译jsp文件
import=”java.util.*” 使用什么包,用逗号分隔
pageEncoding=”utf-8”

contentType=”text/html; charset=UTF-8”
errorPage=”error.jsp”
isErrorPage=”false”
buffer=”8kb”
session=”true”
isELIgnored=”false”
%>

你可能感兴趣的:(jsp指令)