Hai,

I will briefly explain the situation. We are using JavaWebServer2.0
running in WinNT server and Oracle 8.0 as the database server.

I am able to make connection to the Oracle database from the servlet,
and When I am passing the parameters from the servlets to JSP (and
viceversa) things are fine. But When I try to make connection
directly from JSP to the database with jdbc driver (need to mention ,
I am using oracle thin client.),  I am facing problems.

1. Class.forName(oracle.jdbc.driver.OracleDriver)
here it reports exception saying the class OracleDriver is not found.
I tried setting the classpath for the OracleDriver which resides in
the servlets directory(within the JavaWebServer2.0 scope). And with
the classpath set I tried class.forname(OracleDriver) even this is
not working.

2. When I specify H:\JavaWebServer2.0\servlets\OracleDriver  as URl
for the driver class then it is throwing exception and in expection
message fullpath of the OracleDriver. Where H: is mapped to the
server where the JavaWebServer2.0 is running.

3. I am not able to access any other classes in the servlet directory
also(where I have all the generic classes).

Can anyone help me to overcome the above problem.
NOTE: We are not using beans anywhere. You can send your solutions
with & without beans.




__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to