Meclipse10.0中怎样运行JavaBean
e<%@ page language="java" import="java.util.*" pageEncoding="GB2312"%><jsp:useBean id="dbcon" class="package.dbcon" scope="page"></jsp:useBean>
<html>
<head>
<title>My JSP 'check.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<body>
<%
String rand1=request.getParameter("rand1");
String rand=(String)session.getAttribute("rand");
if(!rand1.equals(rand))
{
out.println("验证码出错");
response.sendRedirect("login.jsp");}
%>
</body>
</html>
我在webproject下的src中创建了一个MyBean的包存放dbcon的JavaBean但是在jsp运行中却出现check.jsp (line: 3, column: 0) The value for the useBean class attribute package.dbcon is invalid.求各位大侠指教