这个JSP文件有问题吗?
文件如下:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
</head>
<%
String aaa="AAA";
%>
<body>
<p align="center"><span class="style1"><%= aaa %></span></p> //把此处的<%= aaa %>改成AAA就没有任何问题
<p align="center"> </p>
<p align="center">
<input type="submit" name="Submit" value="返回" onClick="history.back()">
</p>
</body>
</html>
出错信息:
404 Not Found
/cnc/info.jsp was not found on this server.