本人采用javabean实现数据库连接池的操作,但是在eclipse中运行却出现以下提示:org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 9 in the jsp file: /test.jsp
DBConnManager cannot be resolved to a type
6: <head>
7: <meta http-equiv="Content-Type" content="text/html; charset=GB18030">
8: <title>test database connection pool</title>
9: <jsp:useBean id="connManager" scope="application" class="DBConnManager"/>
10: </head>
11: <body>
12: <%!请问这是什么原因啊?
DBConnManager cannot be resolved to a type
6: <head>
7: <meta http-equiv="Content-Type" content="text/html; charset=GB18030">
8: <title>test database connection pool</title>
9: <jsp:useBean id="connManager" scope="application" class="DBConnManager"/>
10: </head>
11: <body>
12: <%!请问这是什么原因啊?
for example:
<jsp:useBean id="connManager" scope="application" class="com.yourname.DBConnManager"/>