By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
463,190 Members | 649 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 463,190 IT Pros & Developers. It's quick & easy.

jsp and oracle 9i connectivity

P: 52
hi,

i need to connect to oracle from my jsp page.
could you please help me with this..
I am able to connect to MS Access using the following code

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:aps");
st=con.createStatement();

how do i connect my jsp page to oracle?
Mar 5 '07 #1
Share this Question
Share on Google+
2 Replies

hirak1984
100+
P: 316
did you try it?what were the errors?
hi,

i need to connect to oracle from my jsp page.
could you please help me with this..
I am able to connect to MS Access using the following code

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:aps");
st=con.createStatement();

how do i connect my jsp page to oracle?
Mar 5 '07 #2

P: 52
hi,
there were no errors, but it does not retrieve any data from the database
Mar 6 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.