Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

database connectivity string

Status
Not open for further replies.

nubees

Programmer
Aug 6, 2003
39
0
0
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top