1、include指令:
语法:
<%@ include file = "URL" %>
2、include动作:
语法:
<jsp:include page = "URL" flush = "true|false" />
说明:page:要包含的页面;
flush:被包含的页面是否从缓冲区读取;
3、include指令与include动作比较:
4、forward动作:
语法:
<jsp:forward page = "URL" />
等同于:
request.getRequestDispatcher("/url").forward(request,response);
5、param动作:
语法:
<jsp:param name = " 参数名" value = "参数值" >
常与<jsp:forward >一起使用,作为其的子标签。