1. 向JSP页面中插入指定的页面方法有两种:JSP命令<%@ include%>
JSP动作<jsp:include />
2. a.jsp代码如下:<html>huanghui3. b.jsp代码如下:
<%@ include file="b.jsp"%>
<jsp:include page="b.jsp" flush="true"/>
</html><html>hello</html>
| |||||||||||||||
| |||||||||||||||
| 电话咨询:010-60520722 QQ咨询:3792656 | 583696287 | 66733350 关于WebDN | 站点地图 | 联系我们 | 支付方式 | 友情链接 | |
| © 2004-2008 WebDN.com 版权所有. 沪ICP备05040479号 |