是不是需要用con创建个Statement或PreparedStatement对象,再用这个对象执行executeQuery? Statement stat = con.createStatement(); ResultSet rs = stat.executeQuery(sql); 记得即使没取到数据rs也不是空来着.你的con如果是Connection的话就创建个Statement或PreparedStatement对象.最好把封装的代码也发下. 把ResultSet rs=con.executeQuery(sql);改成上面两句试过了没啊?
if rs.nextorg.apache.jasper.JasperException:An exception occ
1个回答
相关问题
-
org.apache.jasper.JasperException:/tour/line_manage/show_lin
-
The only exceptions are if an unmarried woman became pregnan
-
The bus is empty _____ an old man.A.except B.except for
-
occ是什么意思
-
英语选词填空Jasper White is one of those rare people who ( ) in an
-
I have nothing ______( but / except) an apple
-
I think Jasper is the best(改为一般疑问句) ()()()Jasper is the best
-
No child wants to be an exception in an age of conformity an
-
no child wants to be an exception in an age of conformity an
-
sahara occ.r.a.s.d