有个小问题,请大家帮帮忙,急!!!

cclboy1130 2004-11-21 04:28:59
我用的tomcat5.0.29和dreamwever2004,在运行一个程序时出了下面这样的错误,哪位高手兄弟指点一下啊,小弟在这先行谢过了。。。。
org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 21 in the jsp file: /RequestGetDemo.jsp
Generated servlet error:
D:\Tomcat5\work\Catalina\localhost\_\org\apache\jsp\RequestGetDemo_jsp.java:64: cannot resolve symbol
symbol : method getParamter (java.lang.String)
location: interface javax.servlet.http.HttpServletRequest
out.print(request.getParamter("name"));
^


An error occurred at line: 22 in the jsp file: /RequestGetDemo.jsp
Generated servlet error:
D:\Tomcat5\work\Catalina\localhost\_\org\apache\jsp\RequestGetDemo_jsp.java:67: cannot resolve symbol
symbol : method getParamter (java.lang.String)
location: interface javax.servlet.http.HttpServletRequest
out.print(request.getParamter("gender"));
^


An error occurred at line: 23 in the jsp file: /RequestGetDemo.jsp
Generated servlet error:
D:\Tomcat5\work\Catalina\localhost\_\org\apache\jsp\RequestGetDemo_jsp.java:70: cannot resolve symbol
symbol : method getParamter (java.lang.String)
location: interface javax.servlet.http.HttpServletRequest
out.print(request.getParamter("age"));
^
3 errors



org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:432)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:492)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:471)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:459)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.29 logs.

...全文
72 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
JK_10000 2004-11-22
  • 打赏
  • 举报
回复
request.getParamter("name");

--->>>

request.getParameter("name");

87,922

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧