tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manu KY <manu_...@yahoo.com>
Subject Re: Changing servlet directory
Date Mon, 01 Oct 2001 11:55:01 GMT
Hi,
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.

Manu


>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:
>
>java.lang.NoClassDefFoundError:
>javax/servlet/http/HttpServlet
>
>Did adding extra classpath to catalina.bat affect the
>loading of tomcat's classes? Thansk in advance.
>
>Firestar
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Listen to your Yahoo! Mail messages from any phone.
>http://phone.yahoo.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message