An error occurred at line: 75 in the jsp file: /tree2.jsp
Generated servlet error:
C:\Tomcat 5.0\work\Catalina\localhost\train\org\apache\jsp\tree2_jsp.java:142: cannot resolve symbol
symbol : method getHeaderName ()
location: interface javax.servlet.http.HttpServletRequest
Enumeration enum_headed=request.getHeaderName();
Generated servlet error:
C:\Tomcat 5.0\work\Catalina\localhost\train\org\apache\jsp\tree2_jsp.java:142: cannot resolve symbol
symbol : method getHeaderName ()
location: interface javax.servlet.http.HttpServletRequest
Enumeration enum_headed=request.getHeaderName();
解决方案 »
- 关于DTREE和iframe的用法
- DAO层的异常应该向上抛吗
- 存储过程!
- JS怎么实现查询本机目录下所有文件名称的功能.
- FCKeditor2.3中,除了上传图片类型文件和flash类型文件,怎么上传zip或者doc类型的文件呢?
- 请问谁有平安的面试题啊
- 在线急问
- 200分求hello world的spring实例源码,请发到我邮箱
- 各位,jsp中金额如何显示??为什么数太大结果就是 2.00900005E12
- 请教各位:如何把动态的文件生成静态的文件就象网易的新闻那样)?
- 谁在jsp里面用过序列???急求,那位高手指教???
- PHP5 超越 Java, PHP5项目展示 => http://www.biho.com.cn
<br>获取客户端提交的所有参数的名字:
<%
Enumeration enum=request.getParameterNames();
while(enum.hasMoreElements())
{
String s=(String)enum.nextElement();
out.println(s);
}
%>
。报错信息
An error occurred at line: 66 in the jsp file: /tree2.jsp
Generated servlet error:
C:\Tomcat 5.0\work\Catalina\localhost\train\org\apache\jsp\tree2_jsp.java:131: cannot resolve symbol
symbol : class Enumeration
location: class org.apache.jsp.tree2_jsp
Enumeration enum=request.getParameterNames();
<%@ page import="java.util.*"%>
或者
import java.util.*;