站内搜索: 请输入搜索关键词

当前页面: 开发资料首页JSP 专题JSP学习,include的运用

JSP学习,include的运用

摘要: JSP学习,include的运用。

 
1. 向JSP页面中插入指定的页面方法有两种:
JSP命令<%@ include%>
JSP动作<jsp:include />

2. a.jsp代码如下:
<html>huanghui
<%@ include file="b.jsp"%>
<jsp:include page="b.jsp" flush="true"/>
</html>
3. b.jsp代码如下:
<html>hello</html>


↑返回目录
前一篇: JSP学习,JSP标签库
后一篇: 让JSP与ASP.Net共享Session值