Oracle Servlet Connectivity

Hello
When i try to connect my servlet with oracle it didnt detect oracle driver. My Simple java class was connect successfully but when i move to servlet i didnt work. Classnotfoundexception Occur tell me what i do and where i place classes12.zip folder in tomcat server.
Thank You
Regards
Uzair

Rename the classes12.zip to be classes12.jar
Tomcat only reads jar files, not zip files.
It should be in one of the following (in my order of preference):
- web-inf/lib
- TOMCAT/shared/lib
- TOMCAT/common/lib
Cheers,
evnafets

Similar Messages

  • Exmpl of Servlet connect with ORacle

    Hi folks,
    Can anyone send me example of Java Servlet connectivity with Oracle.
    i m not able to connect servlet with oracle.
    u guys can reply me on [email protected]
    thanks
    dal hit

    No.
    The code for connecting to Oracle from a Servlet is no different from connecting to Oracle from any other Java application. So tell you what, you show us what you've tried and the error message(s) and we'll help you debug it.
    99.999% of the time it's a failure to put the driver Jar file into the classpath, the specifics of which vary from application server to application server. Which one are you using?
    u guys can reply me on [email protected]
    We can, but we won't. This is not your personal bugfixing service. Pay if you want that kind of help. If you want it for free, do it through the forums or go away.
    Probably you'll never read this response, but that's your problem not mine.

  • Tomcat 5.5.20 / Oracle  JDBC connection error

    Hi All,
    I am using Eclipse 3.2/ Tomcat 5.5.20/ Oracle 8i
    Inside my java class; right after finding the context, it gives error on line:
    conn = dataSource.getConnection();
    my server.xml <Resource> settings are proper within one tag...
    I am loosing my hair faster... please someone help me..
    Error Stack:
    javax.servlet.ServletException
         org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:545)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:486)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NullPointerException
         com.nibtt.beans.ConnectionBean.getConnection(ConnectionBean.java:80)
         com.nibtt.actions.LoginAction.execute(LoginAction.java:44)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Regards
    Hepzi

    Hi Zadok,
    I am going insane. Thank God you replied. I am pasting my code here.
    I have setup Tomcat5.5.20 <resource> tag as follows: for connection pooling
    <Resource      name="jdbc/TestStrutsDB" auth="Container"
              type="javax.sql.DataSource" factory="org.apache.commons.dbcp.BasicDataSourceFactory"
              username="SCOTT" password="TIGER"
              driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@111.1.1.1:1521:TEST"
              maxActive="8" maxIdle="4"/>
    my application web.xml code:
    <resource-ref>
    <description>Oracle DB Connection</description>
    <res-ref-name>jdbc/TestStrutsDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    my java code:
    public Connection getConnection() throws Exception{
              Context ctx = new InitialContext();
    Context envContext = (Context)ctx.lookup("java:/comp/env");
    javax.sql.DataSource dataSource = null;
         ResultSet rst = null;
         Statement stmt = null;
         try {
              if(envContext == null ) {
         System.out.println( "context is NULL");
              } else
         System.out.println( "context is NOT NULL");
    dataSource = (javax.sql.DataSource)envContext.lookup("jdbc/TestStrutsDB");
              if (dataSource != null) {
                   System.out.println( "before actual connection to database: "+dataSource.toString() );
                   try {
                        conn = dataSource.getConnection();
                   } catch (Exception connEx) {
                        System.out.println( connEx.getStackTrace());
              if(conn != null) {
         System.out.println( "Got Connection "+conn.toString());
         stmt=conn.createStatement();
         rst=stmt.executeQuery("select username from testTomcat");
         while(rst.next()){
              System.out.println("User Name is: " + rst.getString("username"));
         rst.close();
         rst = null;
         stmt.close();
    stmt = null;
    conn.close();
         conn = null;
         // do what you wish with Connection
         } catch (SQLException e) {
              while((e = e.getNextException()) != null) {
                        System.out.println("SQLException: " + e.getMessage());
                        System.out.println("SQLState: " + e.getSQLState());
                        System.out.println("VendorError: " + e.getErrorCode());
                        System.out.println(e.getStackTrace());
         } finally {
         try {
         conn.close();
         } catch (SQLException ex) {
              System.out.println(ex.getStackTrace());
              return conn;
         } //End of Connection function
    Please let me know if had gone wrong somewhere
    Thanks in advance
    Regards
    Hepzi

  • Error while creating Oracle DB connection in Endeca Intergrator 3.1

    Hi All,
    I am facing an issue while creating a new Oracle DB connection using Inegtator in 3.1 version.
    I get the following exception:
    loader constraint violation in interface itable initialization: when resolving method "oracle.jdbc.OracleConnectionWrapper.setWrapper(Loracle/jdbc/OracleConnection;)V" the class loader (instance of org/jetel/util/classloader/GreedyURLClassLoader) of the current class, oracle/jdbc/driver/OracleConnection, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for interface oracle/jdbc/OracleConnection have different Class objects for the type oracle/jdbc/OracleConnection used in the signature
    we dont have SID but service name and we use like the following in earlier versions:
    jdbc:oracle:thin:@localhost:1556/xx_yy.us.oracle.com
    Not sure what is the issue... Any pointers are appreciated!!
    Thanks in Advance,
    Kartik P.

    Could you have installed Integrator ETL Server into the same Tomcat instance as Studio?  That's not a supported configuration per http://docs.oracle.com/cd/E40518_01/integrator.311/integrator_install/toc.htm#Installing%20Integrator%20ETL%20Server%20on%20Tomcat : "Integrator ETL Server must be installed on a standalone Apache Tomcat. Do not install Integrator ETL Server on a Tomcat server that is being used to host other applications. For example, do not install Integrator ETL Server on the Tomcat that is hosting Studio. ".

  • Select in Oracle's Connection

    Hi
    I've had two connection, one for Oracle Database and other for SQL Server Database, both it have worked fine and my question is
    How I can show data with one Select in Oracle's Connection for one table in SQL Server ?
    I mean
    Select * from ConnectSQL..dbo.Table ???
    Is it possible ?

    Karthick
    thanks
    I made the DataBase Link but send me this error
    ORA 12541 TNS no listener
    the connection request could no be completed because the listener is no running
    I click in your link, but I can't created the Oracle ODBC ....
    How I can to install the oracle client in my local PC ?

  • Database Table Resource via Oracle RAC connection Manager

    Hello,
    Our current IDM 8.1 syncs off a HR Database Table using the Database Table connector.
    Our DBA's are moving the view into an Oracle RAC environment.
    Question: Is there a way for us to connect and sync off our DB table through an Oracle RAC connection manager.
    I understand that for the IDM repository, this is possible.
    jdbc:oracle:thin@(DESCRIPTION =
    (ADDRESS_LIST =
    (LOAD_BALANCE = ON)
    (FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1.ser.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = server2.ser.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = db.com)
    servers server1 and server2 are oracle connection managers
    Thank you for your input,
    -RC

    We moved the repository to Oracle RAC recently. The syntax to switch to the new databasecluster was something like this:
    lh setRepo -tOracle -ujdbc:oracle:thin:@//dbcluster1.domain:1521/service_idm.oradb.domain -Uwaveset -Pwachtwoord
    For the 'lh setRepo' command the old database had to be up, and we had to use the old ojdb5.jar. After that we switched to ojdb6.jar.
    One of our resources is a database table with HR data in the same database. The following Database Access Parameters work for us:
    Database Type:      Oracle
    JDBC Driver:      oracle.jdbc.driver.OracleDriver
    JDBC URL Template:      jdbc:oracle:thin:@//%h:%p/%d
    Host :     dbcluster1.domain
    Database: service_idm.oradb.domain
    Port: 1521
    Greetings,
    Marijke

  • Oracle 10G connection problem

    Oracle 10G connection problem
    I launch my db with the following script:
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
    Here is the output:
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 188743680 bytes
    Fixed Size 778036 bytes
    Variable Size 162537676 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Database "orcl" warm started.
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 27-FEB-2004 22:17:59
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But when i try to connect with sqlplus:
    oracle@xavan_fixe oracle $ sqlplus
    SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory

    When you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
    Joel Pérez

  • Oracle 6i connection problem

    Dear All,
    good afternoon:
    i am facing problem with oracle 6i connecting to oracle RAC two nodes cluster. which was working fine from last 3-4 years and there was no issue with application as well as database.
    now i am getting error with oracle 6i forms , sometimg its not connecting with database . when i enabled the trace on 6i sqlnet.ora file.
    i goted the result
    trace file:
    -- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    New trace stream is "C:\ora6i\NET80\ADMIN\trace\conection.trc.trc"
    New trace level is 16
    --- TRACE CONFIGURATION INFORMATION ENDS ---
    [02-MAY-10 12:33:07] nigini: entry
    [02-MAY-10 12:33:07] nigini: Count in NI global area now: 1
    [02-MAY-10 12:33:07] nigini: Count in NI global area now: 1
    [02-MAY-10 12:33:07] nrigbi: entry
    [02-MAY-10 12:33:07] nrigbni: entry
    [02-MAY-10 12:33:07] nrigbni: Unable to get data from navigation file tnsnav.ora
    [02-MAY-10 12:33:07] nrigbni: exit
    [02-MAY-10 12:33:07] nrigbi: exit
    [02-MAY-10 12:33:07] nigini: exit
    [02-MAY-10 12:33:07] niqname: Using nnfsn2a() to build connect descriptor for (possibly remote) database.
    [02-MAY-10 12:33:07] nnftboot: entry
    [02-MAY-10 12:33:07] nnftboot: exit
    [02-MAY-10 12:33:07] nnfoboot: entry
    [02-MAY-10 12:33:07] nnfoboot: exit
    [02-MAY-10 12:33:07] nnfoboot: entry
    [02-MAY-10 12:33:07] nnfoboot: exit
    [02-MAY-10 12:33:07] nnfhboot: entry
    [02-MAY-10 12:33:07] nnfhboot: exit
    [02-MAY-10 12:33:07] nncpmlf_make_local_addrfile: construction of local names file failed
    [02-MAY-10 12:33:07] nncpmsf_make_sys_addrfile: system names file is C:\ora6i\NET80\admin\tnsnames.ora
    [02-MAY-10 12:33:07] nncpcin_maybe_init: first request sent to name server will have ID 0
    [02-MAY-10 12:33:07] nncpcin_maybe_init: initial retry timeout for all name servers is 1500 csecs
    [02-MAY-10 12:33:07] nncpcin_maybe_init: max request retries per name server is 1
    [02-MAY-10 12:33:07] nngsini_init_streams: initializing stream subsystem, cache size is 10
    [02-MAY-10 12:33:07] nngtini_init_msg: initializing PDU subsystem, initial pool size is 2
    [02-MAY-10 12:33:07] nncpcin_maybe_init: default name server domain is [root]
    [02-MAY-10 12:33:07] nnfun2a: entry
    [02-MAY-10 12:33:07] nnftqnm: entry
    [02-MAY-10 12:33:07] nnfcagmd: entry
    [02-MAY-10 12:33:07] nnfcagmd: Attempting to find metadata for type a.smd
    [02-MAY-10 12:33:07] nnfcagmd: Attribute name a.smd is a predefined meta type, syntax is 4.
    [02-MAY-10 12:33:07] nnfcagmd: exit
    [02-MAY-10 12:33:07] nnfotran: Checking local tnsnames.ora file
    [02-MAY-10 12:33:07] nnfotran: Checking local tnsnames.ora file
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: initial load of names file C:\ora6i\NET80\admin\tnsnames.ora
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: failure, error stack follows
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: NL-00425: bad continuation line
    NL-00425: bad continuation line
    NL-00425: bad continuation line
    NL-00425: bad continuation line
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: NOTE: FILE CONTAINS ERRORS, SOME NAMES MAY BE MISSING
    [02-MAY-10 12:33:07] nnftqnm: Using tnsnames.ora address (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip1.dxbdom08.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip2.dxbdom08.com)(PORT = 1521)) (LOAD_BALANCE = yes) (FAILOVER = ON) (CONNECT_DATA = (SERVICE_NAME = mscdxb)(SERVER=DEDICATED) (FAILOVER_MODE=(TYPE=select)(METHOD=basic)))) for name mscdxb
    [02-MAY-10 12:33:07] nnfcraa: entry
    [02-MAY-10 12:33:07] nnfun2a: Obtaining answer records for mscdxb
    [02-MAY-10 12:33:07] nnftans: entry
    [02-MAY-10 12:33:07] nnfcran: entry
    [02-MAY-10 12:33:07] nnfcran: 64 rrs requested, 1 remaining, 1 total
    [02-MAY-10 12:33:07] nnfcran: exit
    [02-MAY-10 12:33:07] nnfotrv1: entry
    [02-MAY-10 12:33:07] nnfotrv1: translated "mscdxb" to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip1.dxbdom08.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip2.dxbdom08.com)(PORT = 1521)) (LOAD_BALANCE = yes) (FAILOVER = ON) (CONNECT_DATA = (SERVICE_NAME = mscdxb)(SERVER=DEDICATED) (FAILOVER_MODE=(TYPE=select)(METHOD=basic))))
    [02-MAY-10 12:33:07] nngsdei_deinit_streams: deinit
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    please help me,
    thanks in advance.
    sher khan

    thanks dear this is my tnsfile please check it. if any error can you corect me.
    mscdxb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.3)(PORT = 1521))
    (LOAD_BALANCE = on)
    (FAILOVER = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mscdxb)
         (FAILOVER_MODE=
    (TYPE=select)
    (METHOD=basic))     
    thanks,
    sher khan

  • Oracle BPM Connection to SFTP

    Hi all,
    Can Oracle BPM connect to SFTP .. If yes, how?
    There is no External Resource Connection?
    Or do we just have to add the URL in the code, in one of the automatic activities?
    Or do we use Fuego.Net.FTPServer?
    Will this work for SFTP?
    Edited by: user8766631 on Dec 20, 2010 11:43 AM

    Hi all,
    Can Oracle BPM connect to SFTP .. If yes, how?
    There is no External Resource Connection?
    Or do we just have to add the URL in the code, in one of the automatic activities?
    Or do we use Fuego.Net.FTPServer?
    Will this work for SFTP?
    Edited by: user8766631 on Dec 20, 2010 11:43 AM

  • Business Rules:Non-oracle db connections not shown in the ADF-BC Facts sect

    Hi everyone
    I'm working with Oracle BPM 11.1.1.5.0
    JDeverloper: 11.1.1.5.0
    Database : SQL Server 2008.
    I'm trying to create some rules based on some value in my tables in the database.
    The problem:
    My non-oracle DB connections are not shown in my Business rule, in the ADF-BC Facts section on the Facts tab.
    I have two oracle db connections and one SQL Server connection, and all three have been working perfectly before.
    But in the business rules facts section, when I want to add a new ADF-BC fact, only the oracle connections are shown.
    I have tried recreating all of them a few times, re registering my sqljdbc jar file, creating a new test application from scratch, but none seems to work.
    Can some one give me any hint please?
    Thanks in advance

    has anyone else had this problem ?

  • Sybase oracle heterogeneous connection

    Hi all,
    I created a connection from oracle to sybase using oracle heterogeneous connection. However I have a problem with numeric characters, I cannot get floating parts of numbers.
    when I use create as syntax it maps to correct data types(with the correct precision and scale) but 12,49 comes like 12,00.
    My Database is 10.2.0.3.0 32bit windows
    Any help would be appreciated..

    The problem was because of language settings. Setting NLS_LANG in the registery to correct setting solved the problem..

  • Oracle Generic Connectivity in Oracle Application Ser ver 10g.

    Hi Tak and All!
    With the help of your great guidence, I have connect the Generic Connectivty for MS Access and MS Excel successfully in client server environment.
    The topology was..
    Host A = Custom installation of Oracle9i database + MS ACCESS
    Host B = Oracle 9i Database (Complete)
    But...
    tell me How the Oracle Generic Connectivity will connect in ORACLE APPLICATION SERVER. What will be the concept and topology? Because the client only have the URL which is used for getting application on browser.
    I will be extremely thankful.
    All these forums always help me.
    Thanks
    Rana Adnan

    It depends. Oracle Reports can connect to Oracle and non-Oracle databases directly, without using Generic Connectivity.
    Your Forms application would presumably connect only to the Oracle database. The Oracle database might well connect to other Oracle and non-Oracle databases via database links. The non-Oracle database links would utilize Generic Connectivity.
    Given the three machines A, B, and C
    A could connect to B and B could connect to C
    A could connect to C for reporting queries
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Query  regarding oracle 10g connection in Visual Studio 2005

    Hi ,
    I am having visual studio 2005 installed in my system . when i am adding oracle database connection it is displaying that "use this connection for oracle 7 ,8, 9i versions ..i want to connect oracle 10g database in visual studio 2005. plz tell me how to do that?

    looks like u'r try connecting to oracle using server explorer, just hit OK an then fill in your server name, userid and password.
    server name might be SID defined in your tnsnames.ora, or in the form of //<machine_name>/<service_name>

  • Entity Framework -  unable to select the oracle data connection

    Entity Framework - unable to select the oracle data connection from the wizard that allows you to select the data provider. Even though we successfully added a data connection that points to an oracle database, we still can't select an existing data connection or create a new database provider that points to an oracle instance.
    we are using both vs 2008 sp1 and vs 2010. We connect to oracle 11g and we use the latest oracle odp.net driver. the Driver is installed and working in vs studio.

    I had this exact problem when I started. I think I had downloaded the wrong odbc (the 64x version). When I unloaded that version and downloaded the 32bit version it worked.
    Hope that helps. ~ Darla

  • Problem in Oracle Database Connectivity in JSP

    I am having big problem such as Oracle Database connectivity problem
    Following code i am used for database connection. but it throw an exception call class not found exception.
    Pls any one can help me. With a sample code for Oracle Database connection in JSP
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    String url="jdbc:oracle:thin:@172.25.44.54:1521:bbo";
    con = DriverManager.getConnection(url,"user", "user123");
    Thank you

    Well i've never used oracle or their drivers before but i'm presuming that you'd go to oracle.com or something and look for downloads. Otherwise you could goodle for Oracle JDBC drivers. Then just follow the instructions.
    Again i've never used JSP but if you have a manifest file somewhere you'll need to put a class-path: entry in their referecning the jar file with the driver so that it is availble at run-time.
    Wes

Maybe you are looking for

  • Material Master Security at Material Level

    Hi! Can anyone tell me if we can lock security on material masters down on certain material types? We have just started testing security at the screen level but would like to take it a step further to material type. We are on 45.B still... Thanks for

  • The apple mobile device is not working on the ipad. how can i fix it?

    My apple mobile device is not working on my ipad and my itunes dosn't work now. How can I fix it?

  • My method won't run...HELP

    everything in my program works, except my method...it doesn't run... The Following is my entire code... I've marked the ln where the method is called with $$$$$$ //imports import java.awt.*; import java.awt.event.*; import javax.swing.*; public class

  • Do I need to make a Genius appointment for service?

    ...or can I just walk in? My iPhone 3G has dust under the screen and cracks around the dock connector..can I get it replaced? Do I need to make an appointment at the store to get it looked at?

  • Logic to extract DTC data

    Hello Everyone, I have a scenario where I have to report on how many times the DTC(date and time commitment) was changed by a particular agent in a call center if he was unable to resolve the complaint in the agreed SLA. Like we have to make a count