2015年06月18日
来源:互联网 发布:linux 创建文件系统 编辑:程序博客网 时间:2024/05/16 00:57
在一个JSP页面中包含另一个JSP页面的三种方式。
(1)include指令
include指令告诉容器:复制被包含文件汇总的所有内容,再把它粘贴到这个文件中。
<%@ include file="include.jsp"%>
(2)include标准动作
<jsp:include page=“include.jsp”/>
(3)采用JSTL
<c:import url="http://www.baidu.com/index.html">
可以包含容器之外的内容。
0 0
- 2015年06月18日
- 2015年06月18日
- 2015年06月06日
- 2015年06月06日
- 日记 [2010年06月18日]
- 2015年07月06日
- 2015年11月06日
- 2015年06月22日
- 2015年06月10日
- 2015年06月08日
- 2015年06月17日
- 2015年06月09日
- 2015年06月10日
- 2015年06月10日
- 2015年06月10日
- 2015年06月11日
- 2015年06月11日
- 2015年06月11日
- 2015年06月13日
- 2015年06月13日
- 2015年06月14日
- 2015年06月16日
- 2015年06月18日
- 2015年06月18日
- fastjson.jar架包
- java图片裁剪
- grails cors插件解决跨域问题
- $http AngularJS异步请求
- AngularJS $on、$emit和$broadcast的使用
- require.js的基本用法
- 2015年07月31日
- 8. String to Integer (atoi)