日期:2014-05-16 浏览次数:20319 次
?
一、编译器指令(directive)(JSP_0100_Directive工程)
<%@Directive?属性=“属性值”%>
常见的Directive:
1:page(PageInclude1.1.jsp/PageInclude1.2.jsp)
2:include(PageInclude1.1.jsp/PageInclude1.2.jsp)
3:taglib
?
@page:
指明与JSP?Container?的沟通方式
基本格式:
<%@page?language=“script?language”|???默认是Java?语言
extends=“className”|????
import=“importList”|?????和Java的import差不多?默认引入java.lang.*??
?? ? ? ? ? ? ? ? ? ? ??javax.servlet.*?javax.servlet.jsp.*?javax.servlet.http.*?
buffer=“none|kb?size”|???--none:不缓冲,默认8k
session=“true|false”|?