freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Chirayu Vaidya" <chirayuvaidya AT yahoo.com>
- To: freetds AT franklin.oit.unc.edu
- Subject: Freetds with MSSQL
- Date: Sat, 17 Nov 2001 05:47:33 -0500
I get a java.lang.ClassNotFoundException: com.internetcds.jdbc.tds.Driver
when i try to use freetds in my site. I am using jsp's on linux with MSSQL
on NT server. I am using the following jsp code:
<%@ page language="java" import="java.sql.*,java.util.*"%>
<%
Connection con=null;
Statement st=null;
ResultSet rs=null;
String login="abc";
String pswd="def";
String url="jdbc:freetds:sqlserver://serverIP/databasename;tds=7.0";
try
{
Class.forName("com.internetcds.jdbc.tds.Driver");
out.println("Class.forName");
}
catch(Exception exp)
{
out.println("This is an exception : "+exp);
}
%>
I haven't even used the Statement and other sql commands as yet. Even this
code is generating the above said exception. Please advice and treat this
as most urgent.
-
Freetds with MSSQL,
Chirayu Vaidya, 11/17/2001
- <Possible follow-up(s)>
- Re: Freetds with MSSQL, Curt Hagenlocher, 11/19/2001
Archive powered by MHonArc 2.6.24.