tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manu KY <>
Subject Re: Changing servlet directory
Date Mon, 01 Oct 2001 11:55:01 GMT
remove your classes from the classpath.
follow these steps.:

in web.xml add details about your web-app.
in tomcat 3.2 it was known as context mapping.
just add your context under <context manager> and set the docBase attribute 
to the dir where your web-app is installed.


>Hi, for some reasons i would like to place my servlets
>and java classes in a separate directory instead of
>WEB-INF/classes or WEB-INF/lib.
>I tried to add the classpath of my classes in the
>catalina.bat script as suggested by some ppl here.
>However, tomcat throws the following error:
>Did adding extra classpath to catalina.bat affect the
>loading of tomcat's classes? Thansk in advance.
>Do You Yahoo!?
>Listen to your Yahoo! Mail messages from any phone.

Do You Yahoo!?
Get your free address at

View raw message