There is one onother way.
Put the jar file in the lib directory of the context/WEB-INF and restart the
server.

for ex. if you are using /myapp context
go to the WEB - INF  directory of the context and you will find a lib
directory.
put your jar in there.

this is how you have to implement j2ee specifications.
you can puta as many jars files in this directory and the servlet engine
will pick this up automatically.

no need to change the class path ....

guru
-----Original Message-----
From: Murat Buyukkal ([EMAIL PROTECTED]) [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2002 11:43
To: [EMAIL PROTECTED]
Subject: Re: Error ...


Halil,
Even if your global classpath environment variable contain the right
directories, startup script of Tomcat changes it, therefore your newly added
classpath does not work. You must manually edit Tomcat\bin\startup.bat file
and add your directories/jar files to corresponding classpath variable. You
must then run Tomcat within bin directory with startup.bat.
Murat.
> > >
> > > > hai,
> > > >     I have installed JAKARTA-TOMCAT4.0.3 version on my
> > > > windows machine...its on C:\jakarta-tomcat 4.0.3....
> > > > I have installed oracle drivers on C:\classe12.zip...
> > > > Now how do i set the path in this tomcat version so
> > > > that i can access oracle ....I am in urgent need of
> > > > this set up..so someone please help me... i have just
> > > > started to use tomcat..
> > > >                                   thanks
> > > >                                  Ajith
> > > >

___________________________________________________________________________
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

Reply via email to