You have to use Oracle thin driver instead. I don't remember the
location of jar file named classes12.jar for example to be used with
jdk1.3, but it would be available with an Oracle client installation or
you can copy them from an existing oracle client/oracle installation. It
is also available at 
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html


Thanks
Ramesh M

-----Original Message-----
From: Nishant [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 11:12 AM
To: Struts Users Mailing List
Subject: how to access oracle database on netwrk

hello,
i am using oracle 9i as my database in my application.
My database is on anothere machine in network.
my struts-config.xml is like
<data-sources>
    <data-source type="org.apache.commons.dbcp.BasicDataSource">
      <set-property property="driverClassName"
        value="com.mysql.jdbc.Driver" />
      <set-property property="url"
        value="jdbc:mysql://localhost/employees" />
      <set-property property="username"
        value="thinc"/>
      <set-property property="password"
        value="thinc"/>
    </data-source>
  </data-sources>

now server is throwing an errors as  cannot load JDBC driver called
com.mysql.jdbc.Driver 
wht is wrong .... wiil i hav to import some external JDBC driver (on my
pc no oracle is there ) 


Nishant Patil
Software Engineer
Cybage Software Pvt. Ltd. (A CMM Level 3 Company)
West Avenue , Kalyani Nagar,
Pune - 411 006
Tel: 91-20-4041700  -355
Email: [EMAIL PROTECTED]
Website: www.cybage.com
There's a difference between knowing the path, and walking the path

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to