Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp to ms access connection

 
twinkle desai
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i m trying to connect jsp with ms access database but it is giving error
[Microsoft][ODBC]datasource name not found and no default driver specified.


plz give me the solution.how can i solve it??
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have an ODBC data source set up on the server?

I'll just point out briefly that it's considered bad design to have DB access code in a JSP, and that the use of Access and the JDBC/ODBC bridge in a multi-threaded environment (as a web application provides) is inherently trouble-prone.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic