急求:JSP连接SQL Server2000出现的错误
我在做一个用户登录的程序时出现了这样的错误,但我测试和数据库连接有是正常的,不知道这个问题怎么解决,请高手们给的指点,我急着需要解决。先谢了!!!
出现的错误:
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /test/login2.jsp(15,0) The value for the useBean class attribute opendb is invalid.
org.apache.jasper.servlet.JspServletWrapper.handle
JspException (JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.
JasperException: /test/login2.jsp(15,0) The value for the useBean class attribute opendb is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jspError (DefaultErrorHandler.java:39)
org.apache.jasper.compiler.ErrorDispatcher.dispatch (ErrorDispatcher.java:405)
org.apache.jasper.compiler.ErrorDispatcher.jspError (ErrorDispatcher.java:146)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit (Generator.java:1174)
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:3320)
org.apache.jasper.compiler.Compiler.generateJava (Compiler.java:198)