On Mon, 21 Jan 2002, Michael Remme wrote:
> Date: Mon, 21 Jan 2002 22:04:42 +0100
> From: Michael Remme <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: AW: servlets classpath
>
> Yes, i read that. But as far as i understood, this is giving me information
> about the structures of the different classloaders. What i did not find, was
> an explanation on how i can attach the classpath of one webapp, but conform
> to the jsdk and not tomcat-specific.
>
Sorry ... assumed you had also read the servlet spec
(<http://java.sun.com/products/servlet/download.html), which tells you
that the web app automatically sees classes loaded from WEB-INF/classes
(and from JAR files in WEB-INF/lib) of the web application. Note that
this is *not* done with a CLASSPATH environment variable, because the set
of classes visible to each webapp is unique (they each have their own
class loader).
Craig
> > -----Urspr�ngliche Nachricht-----
> > Von: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> > Gesendet: Montag, 21. Januar 2002 21:59
> > An: Tomcat Users List
> > Betreff: Re: servlets classpath
> >
> >
> >
> >
> > On Mon, 21 Jan 2002, Michael Remme wrote:
> >
> > > Date: Mon, 21 Jan 2002 20:05:56 +0100
> > > From: Michael Remme <[EMAIL PROTECTED]>
> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> > > To: Tomcat Users List <[EMAIL PROTECTED]>
> > > Subject: servlets classpath
> > >
> > > Hi all,
> > >
> > > i am running a servlet in tomcat 4 and need to use the
> > classpath, which is
> > > representing the libs and classes of the webapp. Using
> > > System.getProperty("java.lang.classpath") is returning "...ApacheTomcat
> > > 4.0\bin\bootstrap.jar", which is not helping really here.
> > >
> > > Does anybody know, how i can solve that?
> > >
> >
> > http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html
> >
> > > best, michael
> > >
> > > Virengepr�ft vom G DATA AntiVirenKit
> > >
> >
> > Craig
> >
> >
> > --
> > To unsubscribe: <mailto:[EMAIL PROTECTED]>
> > For additional commands: <mailto:[EMAIL PROTECTED]>
> > Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
>
> Virengepr�ft vom G DATA AntiVirenKit
>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>