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学习笔记(八)-----include的运用

相关文章:

  • 2021-08-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
  • 2021-12-27
相关资源
相似解决方案