An error occurred at line: 43 in the jsp file: /userInfo.jsp
The method getUserPageBySel(String, String, int, int) is undefined for the type CustomerDaoImpl
40:  List<Customer> list = null;
41: 
42:  if(whe == null)
43:  list = cusImpl.getUserPageBySel("allUsers", "", 3, 1);怎么解决啊?

解决方案 »

  1.   

    getUserPageBySel(String, String, int, int) 在CustomerDaoImpl类没有定义。
    到底是怎么回事。不知道。
      

  2.   

    麻烦把 CustomerDaoImpl 这个类的代码贴下
      

  3.   

    麻烦把 CustomerDaoImpl 这个类的代码贴下
    那个方法到底有没有声明啊???
      

  4.   

    有声明,我在Test类中都能够运行CustomerDaoImpl cus = new CustomerDaoImpl();
    List<Customer> list = cus.getUserPageBySel("allUsers", "1", 3, 1);
    System.out.print("\r");
    for(int i = 0; i<list.size(); i++){

    System.out.print(list.get(i).getLoginName()+"\r");

    }真确的
      

  5.   

    把你的Tomcat重启一下,缓存清一下
      

  6.   

    呵呵,大家好!我是猎头cindy,我们公司是一家专门focus在IT行业的猎头公司,目前有高级JAVA开发工程师,软件架构师和系统分析工程师的职位,感兴趣的朋友可以加我的msn:[email protected],我们详细沟通,呵呵,不考虑也可以加我的,我们保持联系:-)
      

  7.   

    你jsp和后台的关联有没有写好?用的是框架还是servlet直接发送响应?