注册 登录
编程论坛 WEB前端(UI)

[请教]include file不能正常显示

enjoy535 发布于 2007-05-31 10:03, 1282 次点击

通过DW编辑时,都能直接看到包含网页的内容,就是在测试时不能显示,不知道是什么原因...

附部分代码
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>xxxxxxx</title>
<link href="all.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="760" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td align="center" valign="top" background="images/002.jpg"><table width="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="kuang"><!--#include file="top.jsp" --></td>
</tr>


....


<tr>
<td ><!--#include file="foot.htm"--></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

2 回复
#2
zove_0012007-06-21 11:11
你第一次用包含吗? 包含文件top.jsp 在你站点路径下吗

还有 你用的是iis 浏览 还是直接用的F12 预览(这个是肯定看不到的)
#3
lmhllr2007-06-22 01:32
楼上说的是

还有就是包含的页面也要是JSP的
1