标题:JSP中使用JavaBeans时出错
只看楼主
bbflyer
Rank: 1
等 级:新手上路
帖 子:32
专家分:0
注 册:2005-8-11
 问题点数:0 回复次数:2 
JSP中使用JavaBeans时出错

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: /tt/next.jsp(2,0) The value for the useBean class attribute User is invalid.
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150)
	org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1227)
	org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
	org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
	org.apache.jasper.compiler.Generator.generate(Generator.java:3272)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
	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.30 logs

用JavaBeans,<jsp:useBean ******></jsp:useBean>
出现异常,有什么解决方法吗????????

搜索更多相关主题的帖子: JavaBeans JSP 
2006-02-11 20:05
jeremydomett
Rank: 2
等 级:新手上路
威 望:3
帖 子:312
专家分:0
注 册:2004-6-10
得分:0 
The value for the useBean class attribute User is invalid

你把完整的 ,<jsp:useBean ******></jsp:useBean> 写出来.

热爱编程........永不放弃.........
2006-02-12 18:22
xiaomiao13
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2006-2-15
得分:0 

还是不行啊,同样的错误!
郁闷死了,整了一晚上了!

2006-02-15 22:59



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-45195-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.488978 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved