| 发表于:2007-09-29 07:58:47 楼主 |
include.jsp文件 <%@ page contenttype="text/html; charset=gb2312" %> <%@ page language="java" %> <html> <head> <title> 加载文件 </title> </head> <body> <center> <font size = 10 color = blue> 加载文件 </font> </center> <br> <hr> <br> <center> <font size=5 color=blue> <!-- 加载文件 htminsert.html--> <%@ include file="htminsert.html" %> </font> </center> </body> </html> htminsert.html文件 <html> <head> <title> html file </title> </head> <body> 这是加载的 html 文件 </body> </html> 当在浏览器窗口输入http://localhost:8088/example/05/include.jsp时显示页面如下: 加载文件 --------------------------- 请问后边怎么不显示“这是加载的 html 文件”这些字,好象没有加载上去,这是为什么啊?我用的是tomcat6,请各位指教。谢谢 |
|
|
|
|