conn=ds.getConnection();为什么conn会为空呢?请大家帮忙!
我在struts-config.xml中配置了数据源:
<data-source type= "oracle.jdbc.pool.OracleDataSource ">
<set-property property= "driverClassName "
value= "oracle.jdbc.driver.OracleDriver " />
<set-property property= "url "
value= "jdbc:oracle:thin:@192.168.0.204:1521:yiyao " />
<set-property property= "username "
value= "cra " />
<set-property property= "password "
value= "medlink " />
<set-property property= "maxActive "
value= "10 " />
<set-property property= "maxWait "
value= "5000 " />
<set-property property= "defaultAutoCommit "
&nbs