我已经装了informix的jdbc驱动,怎么用weblogic还不能连接到数据库呢?已经拷了ifxjdbc.jar到weblogic的common/lib下
<%String ConnStr="jdbc:informix-sqli://192.9.207.230:28324/KJJ:INFORMIXSERVER=KJJ;user=informix;password=informix";
Connection conn=null;
ResultSet rs=null;
Statement stmt=null;
Class.forName("com.informix.jdbc.IfxDriver");
conn=DriverManager.getConnection(ConnStr);
stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
rs=stmt.executeQuery("select * from a1");
%>
老是出错不行的??? 请大侠指教。。