数据库连接的问题,不要认为简单! 检查你取出的两个字段是否都是String型while(sqlRst.next()) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 因为在access中没有string类型的格式!只有文本格式! //获取记录总数 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不能编译,是不是系统变量还没有设好呢? 如何读取缓存? 请cms高手帮忙!! 菜鸟求助!!关于JSP的get跟POST区分的问题哦 心痛,散分 问一个引用外部类的问题 javabean的使用问题 jsp连接SQLserver问题(SOS) JSP中用JDBC Driver连接SQL Server 2000的问题 怎样在jsp页面调用到bean中的vector,就是吧vector的值传给页面 有谁知道为什么easy ui 会自动在请求参数里加信息啊 我的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
不能编译,是不是系统变量还没有设好呢?