473,378 Members | 1,438 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

jsp and oracle 9i connectivity

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
2 1809
hirak1984
316 100+
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
mallz
52
hi,
there were no errors, but it does not retrieve any data from the database
Mar 6 '07 #3

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

Similar topics

0
by: Paul | last post by:
Dear All, I am a novice with WebMatrix and see that there is a database connection facility for both Access and SQL/MSDE. Is there a method of connecting to an Oracle server either direct or via...
2
by: New Devil | last post by:
can anyone send a code for the oracle connectivity wid C#.. would be really tahnkful .. Desert Desperado 8) Posted Via Usenet.com Premium Usenet Newsgroup Services...
0
by: Komandur Kannan | last post by:
We use web services for connecting to oracle server (XML code). The front-end application is a vb.net smart device application running on a windows mobile 2003. The records are locked by the above...
2
by: Will | last post by:
We have several large Oracle databases that we are writing new front ends for in .Net. The applications will be Windows clients. We are looking for the best method for connecting with the Oracle...
1
by: kiran261 | last post by:
visual basic and oracle connectivity i want to know how can i access records from oracle in visual basic what is the diffrence between connect & connection
1
by: swatishende | last post by:
How is the connectivity of VB with Oracle 8i can be done on windows 98 platform?.
7
cpiyush
by: cpiyush | last post by:
Hi. I am using Cx_Oracle inteface for conectivity to Oracle db server. This is my code. connection = cx_Oracle.connect("sys/demo@Sample.Natas1 as sysdba") cursor = connection.cursor()...
1
by: bdpandit | last post by:
Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is...
4
by: reachravi | last post by:
Hi, In our ASP application, we are using a visual basic Dll file to perform database operations. We have a function in our Dll file for executing stored procedures. This function...
0
by: balagh | last post by:
To access the table in oracle from MySQL. is there any connectivity code r steps to be followed
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.