Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MS-Access with JSP

 
sunil24
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I wnat to know that can we able to connect ms-assess with JSP.
if yes how?
 
prashant komaragiri
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
yes u can try the following :
<%<br /> Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");<br /> Connection con = DriverManager.getConnection("jdbc dbc:usdsn");<br /> Statement stmt = con.createStatement();<br /> //and then create ur resultset object.<br /> %>
hope this is what ur looking for
prashant

Originally posted by sunil24:
Hello,
I wnat to know that can we able to connect ms-assess with JSP.
if yes how?

 
prashant komaragiri
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
oops the code didn't come up:
so here it is
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection("jdbc dbc:usdsn");
Statement stmt = con.createStatement();
//and then create ur resultset object.
prashant
Originally posted by prashant komaragiri:
hi,
yes u can try the following :
<%<br /> Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");<br /> Connection con = DriverManager.getConnection("jdbc dbc:usdsn");<br /> Statement stmt = con.createStatement();<br /> //and then create ur resultset object.<br /> %>
hope this is what ur looking for
prashant


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic