为什么看不到结果呢?
在myeclipse里的web project中新建了一个jsp文件,想测试一下,
<%@ page language="java" pageEncoding="GB2312"%>
<%@contentType="text/html;charset=GB2312"%>
<html>
<head>
<title>Hello world</title>
<meta http-equiv="Content-Type" content="content=text/html;charset=gb2312">
</head>
<body bgcolor="#FFFFFF">
<center>
<font size= 5 color = blue>多种字体大小显示</font>
</center>
<br>
<hr>
<br>
<div align="center">
<%
for(int i=1;i<=6;i++)
out.println("<h"+i+">Hello World!</h"+i+">"); %>
</div>
</body>
</html>
结果点preview只显示了head里的东西,body里什么也没有,该怎么办?