Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004
    Posts
    10

    Unanswered: Database connectivity string

    Hi,

    So far, I used to connect to Access database from my JSP that is in windows based computer.
    I added USER DSN in ODBC as Planningdb and used these statements in my jsp for getting connection to the Access database

    Code:
    private String dbDriver="sun.jdbc.odbc.JdbcOdbcDriver";
    Class.forName(dbDriver);
    conn=DriverManager.getConnection("jdbc:odbc:planningdb","", "");
    Now, I am trying to connect to a Ms Access database in Windows based Computer through my JSP pages which are in Linux computer. Apache and Tomcat servers are also in Linux based computer.

    In that case what should be the database connectivity string?

    please help,
    thanks,
    nubee

  2. #2
    Join Date
    Jan 2005
    Posts
    362

    Jdbc

    I am not sure if this could be. Why are you bying a jdbc driver?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •