try{Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); }
catch(ClassNotFoundException e){}
try{con=DriverManager.getConnection("jdbc:odbc:stu","sa","lsp");}
catch(SQLException e1) {}
我用的是Tomcat5.5+SQL SERVER 2000+JKD1.6,在ECLIPSE下能连接成功,在jsp下怎么就连接不上.请各位大虾多指教.
catch(ClassNotFoundException e){}
try{con=DriverManager.getConnection("jdbc:odbc:stu","sa","lsp");}
catch(SQLException e1) {}
我用的是Tomcat5.5+SQL SERVER 2000+JKD1.6,在ECLIPSE下能连接成功,在jsp下怎么就连接不上.请各位大虾多指教.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货