Another easy way to accomplish this is to rename the classes.zip file to
classes.jar and put it in the <Server_Root>/lib directory. JWS
automatically picks up any jar file in its lib directory.
(*Chris*)
----- Original Message -----
From: Balogh Andras <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 19, 1999 12:28 AM
Subject: Re: How to use Oracle Jdbc Driver in servlet
> Hi !
> -----Original Message-----
> From: yong hu <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Sunday, April 18, 1999 2:36 PM
> Subject: How to use Oracle Jdbc Driver in servlet
>
>
> >Hi:
> > I meet with a trouble when I use Oracle Jdbc Driver oci7 in a
> >servlet.I set
> >classpath=c:\javawebserver1.1.3\lib\jws.jar;c:\ora_jdbc\lib\classes111
> >.zip;c:\jdk1.1.4\lib\classes.zip.Though the compiling is
> >successful,when the servlet executes,it can't load Oracle jdbc driver.
> >I think when compiling the servlet,the compiler uses c:\jdk1.1.4\lib\
> >classes.zip,which includes Jdbc-Odbc bridge driver.So I hope to know
> >how to let the compiler to use Oracle's Jdbc driver.Can't lose the
> >c:\jdk1.1.4\lib\classes.zip from classpath,beacause it includes
> >java's basic classes.
> >
> >Looking forward to your help.
> >Regards.
> >HuYong
>
> Your problem is that the servlet doesn't look it the classpath.
>
> I see that you are using JavaWebServer1.3 so you try either to unzip the
> oracle driver
> classes and put it in the servlet dir or copy the ziped class drivers in
> the lib directory near jws.jar
> and restart the server.
> I don't know it is works but you should try.
>
> Best wishes,
> Andras
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html