You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paresh Deshpande <pa...@india.triviumsys.com> on 2001/08/17 07:14:16 UTC

problem in loading jar files in WEB-INF\lib directory

> Hi,
> 
> I am trying to run my application on APACHE with TOMCAT servlet engine. I
> have placed the jar files required for web 
> application in myapp\WEB-INF\lib folder. Will tomcat automatically pick up
> this jar file? Or do I need to add them manually
> in tomcat.bat?
> 
> Further, do I need to add myapp\WEB-INF\classes in the classpath? Who
> takes care of the classes in this folder?
> 
> 
greetings 
> Paresh 
> 

RE: problem in loading jar files in WEB-INF\lib directory

Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Fri, 17 Aug 2001, Rob S. wrote:

> Sounds like you could learn a lot from reading the Application Developer's
> Guide that comes packaged with tomcat in the /doc directory.  It's also
> available online at:
> 
> http://jakarta.apache.org/tomcat/index.html
> 

The most up-to-date version of this document (reflecting some cool new
stuff that Ant 1.3 lets you do) is available online at:

  http://jakarta.apache.org/tomcat/tomcat-4.0-doc-exp/appdev/index.html

The updated version shows you how to let Ant build classpaths for you.  I
now have *nothing* in my classpath, and my Ant scripts for all my projects
happily build whatever is needed for that particular project.

Although this document references Tomcat 4 (because it will ship with
Tomcat 4 final), the information about web apps is all the same for Tomcat
3.x).

> - r
> 

Craig


> > -----Original Message-----
> > From: Paresh Deshpande [mailto:pareshd@india.triviumsys.com]
> > Sent: Friday, August 17, 2001 1:14 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: problem in loading jar files in WEB-INF\lib directory
> >
> >
> > > Hi,
> > >
> > > I am trying to run my application on APACHE with TOMCAT servlet
> > engine. I
> > > have placed the jar files required for web
> > > application in myapp\WEB-INF\lib folder. Will tomcat
> > automatically pick up
> > > this jar file? Or do I need to add them manually
> > > in tomcat.bat?
> > >
> > > Further, do I need to add myapp\WEB-INF\classes in the classpath? Who
> > > takes care of the classes in this folder?
> > >
> > >
> > greetings
> > > Paresh
> > >
> >
> 
> 


RE: problem in loading jar files in WEB-INF\lib directory

Posted by "Rob S." <rs...@home.com>.
Sounds like you could learn a lot from reading the Application Developer's
Guide that comes packaged with tomcat in the /doc directory.  It's also
available online at:

http://jakarta.apache.org/tomcat/index.html

- r

> -----Original Message-----
> From: Paresh Deshpande [mailto:pareshd@india.triviumsys.com]
> Sent: Friday, August 17, 2001 1:14 AM
> To: tomcat-user@jakarta.apache.org
> Subject: problem in loading jar files in WEB-INF\lib directory
>
>
> > Hi,
> >
> > I am trying to run my application on APACHE with TOMCAT servlet
> engine. I
> > have placed the jar files required for web
> > application in myapp\WEB-INF\lib folder. Will tomcat
> automatically pick up
> > this jar file? Or do I need to add them manually
> > in tomcat.bat?
> >
> > Further, do I need to add myapp\WEB-INF\classes in the classpath? Who
> > takes care of the classes in this folder?
> >
> >
> greetings
> > Paresh
> >
>