on 07-17-2008 4:17 PM
Hi all,
I have created a J2EE application within NW Dev Studio. Now, I have created an Enterprice project as well as a Web Project, the first one being linked ot the other.
Now I have to add the following JARs to the Web Project, in the Java Build Path, for the JDBC connection to work:
>> msbase.jar, mssqlserver.jar and msutil.jar.
I am using the following code to create a DB connection.
>> Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
>> connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://dbname:1555","user","pass");
Everytime I build and run my application, these JAR files disappear. Is there a way to create a reference to these inside my application? (through DC, Reference?)
Thanks.
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.