You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by anupama <an...@jinis.com> on 2001/08/02 12:53:32 UTC
class path to the servlet Directory
Hi,
how do I set the classpath to the directory where I have my servlets.This has to be the directory other than the default webapps directory
thanks
Aditya
Re: class path to the servlet Directory
Posted by Neelakshi <nd...@cisco.com>.
You can setup the classpath in the environment where you are running the
tomcat before starting it. Tomcat can pickup the servlet class from
anywhere in that classpath.
anupama wrote:
>
> Hi,
>
> how do I set the classpath to the directory where I have my servlets.This has to be the directory other than the default webapps directory
>
> thanks
> Aditya
RE: class path to the servlet Directory
Posted by Loïc Lefèvre <ll...@fivia.com>.
In fact, you need a jar package for your application to work.
In this case, you can put your jar package in the %TOMCAT_HOME%/lib
directory. Tomcat will load it at startup.
Loïc Lefèvre
-----Message d'origine-----
De : anupama [mailto:anupama@jinis.com]
Envoyé : jeudi 2 août 2001 12:54
À : tomcat-user@jakarta.apache.org
Objet : class path to the servlet Directory
Hi,
how do I set the classpath to the directory where I have my servlets.This
has to be the directory other than the default webapps directory
thanks
Aditya