Any class file can be put into WEB-INF/classes or in a JAR file in
WEB-INF/lib.  Bean, Enterprise Bean, or other class file, it doesn' matter.

        All the classes that Tomcat finds in these two places are added to
that Web Application's Class path.

        Randy


-----Original Message-----
From: Alfonso Cañellas [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 12:02 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: setting the classpath for a webapp


about this theme,

do you know if is necessary to set the classpath for simple beans or is
enough including them in WEB-INF ?

---- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 5:30 PM
Subject: re: setting the classpath for a webapp


> I'm getting the same problem did you get an answer for this.
>
> Michel
>
> ==============================================
> Michel Knight
> ITArchitecture(Oracle)group
> [EMAIL PROTECTED]
> (819)953-1791
> ==============================================
>
> ---------- Original Text ----------
>
> From: "Peoter Veliki" <[EMAIL PROTECTED]>, on 2/16/01 1:26 PM:
>
>
> I'm a little confused about how Tomcat sets the classpath of the different
> webapps.  I thought that if you placed jar files in the
> webapps/myapp/WEB-INF/lib directory that they were automatically added to
the
> classpath and that the webapps/myapp/WEB-INF/classes directory was also
added
> automatically.
>
> What I'm finding is that I have to set the classpath manually for each app
in
> the shell that is used to start Tomcat.  Is this correct?  Do I need to
> package them into WAR files before the classpath is dealt with
> automatically?  Help?!
>
> Thanks
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to