//拷贝数据到一个JavaBean中          
        Customer customer = new Customer();          
        //由于时间是date类型,所以首先注册一个时间转换器          
        ConvertUtils.register(new DateLocaleConverter(), Date.class);          
        //拷贝数据          
        try {             
         BeanUtils.copyProperties(customer, cfb);          
         } catch (Exception e) {           
            // TODO Auto-generated catch block             
             e.printStackTrace();         
          }