Search This Blog

Tuesday, November 8

JDBC-ODBC JSP & SERVLET

This webapp demonstrates jdbc-odbc connection with ms access database using servlets and jsp.

Download the netbeans project

Before running the project:
1)make ms access database with 1 table called 'student'
2)student has 2 columns(attributes) name and day. Both attributes are of type text.
3)Add DSN for this database, Watch Tutorial
   Set name of DSN as 'dsn1' instead of "NWIND-DSN" as shown in above tutorial.
4)Run the project in netbeans.

4 comments:

  1. Thanx a lot for this urgent post :)

    ReplyDelete
  2. If anyone has problem locating drivers of microsoft access 2007 it is available here
    http://www.microsoft.com/download/en/confirmation.aspx?id=23734

    ReplyDelete
  3. wht to browse in the dsn??

    ReplyDelete
  4. @above_comment :
    Browse to the database file you made in access
    It must be of extension .mdb or .accdb

    ReplyDelete