检查你取出的两个字段是否都是String型
while(sqlRst.next())
while(sqlRst.next())
解决方案 »
- 求助!!hadoop 0.21.0 eclipse 3.7 win7,点击run on hadoop报错
- 用jquery ajax实现 文件下载功能。是不是要使用插件才行啊。
- 如何在Action 中得到所有select的opotion的值?
- window.open的问题
- My-Eclipse老是过期怎么办啊?
- 想学习java方面关于富客户端技术,从哪方面下手?请高手指教~
- 有谁用过或了解JYTHON啊?高分求中文资料
- 我写的javabean操作数据库, 如何更好的释放资源?
- web.xml的配置,急!!
- 什么情况下会抛出NotSerializableException
- 我的Redhat 8下为什么JSP全是乱码啊?
- 关于jsp的基本问题
sqlRst.last();
intRowCount = sqlRst.getRow(); 改为:
strSQL = "select count(*) as totalcount from MA_YH";
sqlRst = sqlStmt.executeQuery(strSQL);
intRowCount = sqlRst.getInt("totalcount");
sqlRst.close();
org.apache.jasper.JasperException: Unable to compile class for JSP
不能编译,是不是系统变量还没有设好呢?