How does JSP connect to the access database without setting the data source?

Source: Internet
Author: User
Tags driver manager
Why can't JSP connect to access through ODBC. mdb, but cannot connect. in the accdb database, my URL is also modified accordingly to Stringurljdbc: odbc: driver {MicrosoftAccessDriver (*. mdb ,*. accdb)}; DBQ + dpath; but why is an error reported ?? The error message is from S.

Why can't JSP connect to access through ODBC. mdb, but cannot connect. in the accdb data library, my URL is modified accordingly to String url = jdbc: odbc: driver = {Microsoft Access Driver (*. mdb ,*. accdb)}; DBQ = + dpath; but why is an error reported ?? The error message is from S.

Why does JSP notPassODBCConnectionOnlyConnection. MdbBut notConnection. AccdbOfDataLibrary, my URL has also been modified accordingly

String url = "jdbc: odbc: driver = {Microsoft Access Driver (*. mdb, *. accdb)}; DBQ =" + dpath;

But why is an error reported ?? The error message is from SQLException.

[Microsoft] [ODBC driver manager] not foundDataSource Name and default driver not specified

Is the version different ?? Or why ?? The urlHowModify it ···

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.