对EJB返回的AaaryList显示到table的处理方法

 

 
1. ArrayList --> Object[]
        ArrayList x = new ArrayList();
        int i = x.size();
        datarecord[] v = new datarecord[i];
        x.toArray(v);
2. PageBean中的数据源对象数组必须有 set get 方法
3. 填充数据源必需对数据源objectarrayprovider填充setarray();
   而不是对对象数组填充;
4. 对象数组不必初始化
5. 记录结构类不必串行化

 

 

之前所写,迁移至此

原文链接:http://user.qzone.qq.com/372806800/blog/1336200453

posted @ 2017-01-03 15:11  风来风往风伤(TiAmo)  阅读(242)  评论(0编辑  收藏  举报