By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,739 Members | 2,014 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,739 IT Pros & Developers. It's quick & easy.

sql serveer /jsp

P: 12
i tried every thing .....installed sql server,drivers,set class path for sqlserver and drivers.I think my url is correct ,i worked well for others
.
My url is

Class.forName("com.microsoft.sqlserver.jdbc.SQLSer verDriver");
String url="jdbc:microsoft:sqlserver://localhost:1433";
Connection con=DriverManager.getConnection(url,"sa","sa");

password is "sa";


tell me what exactly needed for my system to access sql serveer with jsp........

i set all jsr files into my class path,,,,

do i require sqljdbc jarfile to set into my class path and any other jar files needed? i dont have sqljdbc jar file in my system and guide how to download jar files from net?

Hello sir please give me advice i m trying it for 10 days......
give me some advice.........

thanks in advance....

u r advice is precious
Jan 27 '07 #1
Share this Question
Share on Google+
2 Replies


Shanaj
P: 51
i tried every thing .....installed sql server,drivers,set class path for sqlserver and drivers.I think my url is correct ,i worked well for others
.
My url is

Class.forName("com.microsoft.sqlserver.jdbc.SQLSer verDriver");
String url="jdbc:microsoft:sqlserver://localhost:1433";
Connection con=DriverManager.getConnection(url,"sa","sa");

password is "sa";


tell me what exactly needed for my system to access sql serveer with jsp........

i set all jsr files into my class path,,,,

do i require sqljdbc jarfile to set into my class path and any other jar files needed? i dont have sqljdbc jar file in my system and guide how to download jar files from net?

Hello sir please give me advice i m trying it for 10 days......
give me some advice.........

thanks in advance....

u r advice is precious
THE CODE U HAVE WRITTEN IS CORRECT .

BUT YOU HAVE TO DOWNLOAD THE JAR FILE FOR SQL SERVER AND SET THE CLASSPATH

JUST SEARCH THE SITE FOR JAR FILE
Jan 27 '07 #2

Shanaj
P: 51
i tried every thing .....installed sql server,drivers,set class path for sqlserver and drivers.I think my url is correct ,i worked well for others
.
My url is

Class.forName("com.microsoft.sqlserver.jdbc.SQLSer verDriver");
String url="jdbc:microsoft:sqlserver://localhost:1433";
Connection con=DriverManager.getConnection(url,"sa","sa");

password is "sa";


tell me what exactly needed for my system to access sql serveer with jsp........

i set all jsr files into my class path,,,,

do i require sqljdbc jarfile to set into my class path and any other jar files needed? i dont have sqljdbc jar file in my system and guide how to download jar files from net?

Hello sir please give me advice i m trying it for 10 days......
give me some advice.........

thanks in advance....

u r advice is precious

Try this link http://www.minq.se/products/dbvis/dr...html#sqlserver
Jan 27 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.