这是Condb.java也就是我编写的连接数据库的bean文件
package com.bwm.db;
import java.sql.*;//类的变量和方法
public class Condb{
 String Sd="sun.jdbc.odbc.JdbcOdbcDriver";//建立一个联接机
 String Sc="jdbc:odbc:Game";//建立一个Odbc源
 Connection con=null;//Connection对象
 ResultSet rs=null;//建立一个记录集
 public Condb(){
  try{
   Class.forName(Sd);//用classforname方法加载驱动程序类
  }catch(java.lang.ClassNotFoundException e){//当没有发现这个加载这个类的时候抛出的异常
   System.err.println(e);//执行系统的错误打印 
  }
  
 }public ResultSet executeQuery(String sql){//可以执行添加删等操作
  try{
   con=DriverManager.getConnection(Sc);
   Statement stmt=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
   rs=stmt.executeQuery(sql);
  }catch(SQLException er){
   System.err.println(er.getMessage());
  }
  return rs;
 }public int executeUpdate(String sql){//数据库的更新操作
  int result=0;
  try{
   con=DriverManager.getConnection(Sc);
   Statement stmt=con.createStatement();
   result=stmt.executeUpdate(sql);
  }catch(SQLException ex){
   System.err.println(ex.getMessage());
  }
  return result;
 }
 public void close(){
  try{
   if(con!=null)
    con.close();
  }catch(Exception e){
   System.out.print(e);
  }try{
   if(rs!=null)
    rs.close();
  }catch(Exception e){
   System.out.println(e);
  }
  
 }
}
可是在jsp页面中<%@ page import="com.bwm.db.Condb"%>会报错The import com.bwm cannot be resolved其中Condb.class放在WEB_INF/classes/com/bwm/db/Condb.class
Condb.java放在WEB_INF /src/com/bwm/db/bwm/db/Condb.java请大家帮忙看一下,这是什么问题,怎么解决,不胜感激