<body>
<!--
动态引入


他们引入的相互独立的代码段 所以可以运行 代码段之间存在重复的变量



-->

this is a test dy include 01
<jsp:include page="testdyinclude02.jsp?name=lisi">
<jsp:param value="insert" name="cmd"/>
</jsp:include>
</body>

 

testdyinclude02.jsp:

<body>
this is a test dy include 02<br>
<%=request.getParameter("name") %>
<%=request.getParameter("cmd") %>
</body>+