tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Ferguson <dfergu...@coremetrics.com>
Subject Re: CLASSPATH
Date Fri, 02 Feb 2001 01:56:41 GMT
Is there somewhere that I can place a class so that it is only visible to a
certain context

Pete Ehli wrote:

> I have a couple of guesses - in the tomcat docs it states you can add a
> classes directory at C:\Tomcat\classes - this is for all contexts to use -
> what ever classes you put there i.e. helper classes can be utilized by all
> contexts. If this is correct let me know peteehli@teleport.com - again this
> is a guess and I know it is in the docs somewhere.
> -- Pete --
>
> ----- Original Message -----
> From: "Doug Ferguson" <dferguson@coremetrics.com>
> To: "tomcat" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, February 01, 2001 1:22 PM
> Subject: CLASSPATH
>
> > If I have a helper class that I would like to make visible to all my
> > servlets.
> > Where should I place this file?
> >
> > I have been running tomcat from the directory where these helper classes
> >
> > are located. ("." is in my classpath) and that works.
> >
> > However I want a more robust solution. I don't think it works if I place
> >
> > the helper classes in my WEB-INF/classes directory.
> >
> > Is there a location that I can use that is only visible to in specific
> > contexts?
> > Is there a location that I can use that is visible to all contexts?
> >
> > thanks.
> > d.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email: tomcat-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message