请问什么地方出错了
网页提示:org.apache.jasper.JasperException: Unable to compile class for JSPAn error occurred at line: 11 in the jsp file: /123.jsp
Generated servlet error:
D:\jakarta-tomcat-5.0.30\work\Catalina\localhost\_\org\apache\jsp\_123_jsp.java:56: cannot resolve symbol
symbol  : class Enumeration 
location: class org.apache.jsp._123_jsp
Enumeration e = request.getAttributeNames();
^
1 error
代码123.jsp
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>getAttributeName()方法应用</title>
</head>
<body bgcolor="#fffccc">
<font size=4>
<jsp:include page="1.jsp" flush="true" />
<%
Enumeration e = request.getAttributeNames();
while(e.hasMoreElements())
{String attributeName=(String)e.nextElement();
String attributeValue=(String)request.getAttribute(attributeName);
out.print("变量名称:"+attributeName);
out.print("变量内容:"+attributeValue+"<br/>");
}
%>
<%="hello"%>
</font>
</body>
</html>
1.jsp代码
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%
request.setAttribute("gr1","123");
request.setAttribute("gr2","456");
request.setAttribute("gr3","789")
%>