接手一个java web项目,发现他的index.html中,居然有这种写法 [#include "../include/header01.html"/]

我自己单独建了一个web项目,发现这样写,根本不能在index.html中显示header01.html中的内容; 而是把“[#include "../include/header01.html"/]”当做文本显示了;
这个是什么原因呢?怎么才能让 [#include ...]生效呢? 求教

非要 这种 格式吗?如果可以 修改 可以考虑 这个方法
<html>

<frameset cols="25%,50%,25%">
<frame src="fream_01.htm" />
<frame src="fream_01.htm" />
<frame src="fream_01.htm" />
</frameset>

</html>
简单的多框架页面:加载 你试试
温馨提示:答案为网友推荐,仅供参考
第1个回答  2018-02-23
freemarker ??
相似回答