Hiya,

Did you read the appdev guide?  I believe it discusses the significance of the WEB-INF 
folder, among other things.

- r

On Fri, 17 Aug 2001 17:19:12 +0530 [EMAIL PROTECTED] wrote:
> Hi Rob,
> thanks for your reply, Rob. I was waiting for the reply for quite a while
> :)).
> It is not specifically mentioned in the docs how the class files in
> WEB-INF\classes
> are loaded. Neither is it mentioned whether the jar file in the
> WEB-APP\lib folder will be automatically picked in classpath.
> If I do not provide anything (jar or WEB-INF\classes) from my web
> application folder,
> kind of strange problem occurs in which the servlets get loaded from
> WEB-INF\classes
> directory, but when I try to cast a particular resource from JNDI to my
> class (
> placed in the same WEB-INF\classes folder), I get class cast exception
> error. Tomcat
> does not find the class. How can I solve this problem?
> paresh
> 
> -----Original Message-----
> From: Rob S. [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 17, 2001 5:00 PM
> To: [EMAIL PROTECTED]
> Subject: RE: problem in loading jar files in WEB-INF\lib directory
> 
> 
> 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:[EMAIL PROTECTED]]
> > Sent: Friday, August 17, 2001 1:14 AM
> > To: [EMAIL PROTECTED]
> > 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
> > >
> >



Reply via email to