productList.jsp
<html>
<head><title>动态包含</title></head>
<body>
<div id="productDisplay">
<ul>
<jsp:include page="dataCell.html"></jsp:include>
</ul>
</div>
</body>
</html>
dataCell.html(注:该dataCell.html不是完整的html文件,只包含一些内容)
内容:
<li>
<a href="productDetail.html"><jsp:include page="title.html"></jsp:include></a>
</li>
title.html (该html文件内容只有碧螺春三个字)
碧螺春
问题: 代码如上所示,如果这样包含, 那么被包含的html文件里的<jsp:include page=""></jsp:include> 怎样才可以运行???
期待高手解答~~~~
<html>
<head><title>动态包含</title></head>
<body>
<div id="productDisplay">
<ul>
<jsp:include page="dataCell.html"></jsp:include>
</ul>
</div>
</body>
</html>
dataCell.html(注:该dataCell.html不是完整的html文件,只包含一些内容)
内容:
<li>
<a href="productDetail.html"><jsp:include page="title.html"></jsp:include></a>
</li>
title.html (该html文件内容只有碧螺春三个字)
碧螺春
问题: 代码如上所示,如果这样包含, 那么被包含的html文件里的<jsp:include page=""></jsp:include> 怎样才可以运行???
期待高手解答~~~~
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货