可序列化的CachedRowset类符合你的要求,不用再连接数据库。http://developer.java.sun.com/developer/technicalArticles/javaserverpages/cachedrowset/
解决方案 »
- web Project
- javascript报缺少对象.......在线等........................急................跪求..................
- 请问有什么办法让showModalDialog打开的对话框后退吗?
- JSP做了一个网站,两个月了,百度搜录不到,怎么办?
- 为什么在window.showModalDialog(...)即模式窗口提交一次数据后再调用javascript:history.back();却不能回退的?因为数据验证错误所以需
- 在jsp中如何实现试听音乐的功能?
- 请推荐jsp/servlet中那一本书比较好用,透彻?
- 做第一个Servlet.问一下.
- 虚心请教,servlet中的相对路径图片存放位置。
- xxljob调度失败
- 怎样在Window 98中设置环境变量,如Classpath=.....,path=....之类的.
- 头好疼呀,我该怎么办。。。。。
Vector resultVect = new Vector();
try{
ResultSet rst = drpStmt.executeQuery(queryStr);
while(rst.next()){
LinkedList rstInfoLink = new LinkedList();
for(int i = 1;i <= column;i++){
rstInfoLink.add(rst.getString(i));
}
resultVect.add(rstInfoLink);
}
rst.close();
}catch(SQLException sqle){
}
return resultVect;
}