以下是BBS用户发帖的代码,运行后错误提示是jsp:useBean can't find class `mydb.mydb' 。有劳各位朋友们帮忙看看吧
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>留言完成</title>
<link rel=stylesheet href="style.css" type="text/css">
</head>
<%@ page language="java" import="java.sql.*"%>
<jsp:useBean id="RegisterBean"class="mydb.mydb" scope="page" />
<%
String name1=(String)session.getValue("username");
String shade1=new String(request.getParameter("shade"));
String strSQL="insert into shade values('"+name1+"','"+shade1+"')";
ShadeBean.executeQuery(strSQL);
%>
<body>
<% response.sendRedirect("shade.jsp");%>
</body>
</html>