怎么传递一个集合的过程中同时传递一个int变量
public List<Note> queryAll() throws Exception{
List<Note> all = new ArrayList<Note>() ;
count=0;
...//省略对象obj的获得过程和count的取得过程
all.add(obj);
return all;
}
哪位大侠能将count随queryAll()方法传递到调用它的servlet中去,能否把count加入到集合中去
2011-03-04 15:40
2011-03-05 14:30