当前位置: 技术问答>java相关
How to install JDBC driver for sqlserver?
来源: 互联网 发布时间:2015-09-25
本文导语: How to install JDBC driver for sqlserver? AND what is the connction url? This is correct?: Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance | down it from microsoft's website install copy 3 jar file into y...
How to install JDBC driver for sqlserver?
AND what is the connction url?
This is correct?:
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance
AND what is the connction url?
This is correct?:
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance
|
down it from microsoft's website
install
copy 3 jar file into your web service such as tomcat's folder: /lib
install
copy 3 jar file into your web service such as tomcat's folder: /lib
|
add the three .jars to your classpath
|
如果仅用来开发JSP,把msbase.jar,mssqlserver.jar,msutil.jar拷到tomcatlib下,重起tomcat即可
|
yeah,you are right!
|
把msqlserver.jar设置为classpath
@我想学java@
@我想学java@