我用 select name from sysobjects where type='s' select name from sysobjects where type='u' select * from sysobjects where type='u' 都试过,结果都是错误: java.lang.NullPointerException----------------- 我在SQLplus中用过: select table_name from user_tables where table_name='MyTable'; 如果有表“MyTable”,就能够提取出来。说明select语句没错。但是为什么在jsp里面rs就为空呢?
select name from sysobjects where type='s'
select name from sysobjects where type='u'
select * from sysobjects where type='u'
都试过,结果都是错误:
java.lang.NullPointerException-----------------
我在SQLplus中用过:
select table_name from user_tables where table_name='MyTable';
如果有表“MyTable”,就能够提取出来。说明select语句没错。但是为什么在jsp里面rs就为空呢?