tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Tomcat 5.*
Date Mon, 30 Jun 2003 12:22:29 GMT


>I haven't found any straightforward instructions to use servlets on
>5.*.  I have hard time configuring it as well.

That's because to run servlets on tomcat 5.x is the same as 4.x.

>On Tomcat 4.0 and earlier I could just drop servlet.jar in my jdk/lib
>fix the classpath.  Then I could just drop servlets into the class
>directory and they worked.

This is by far the most wrong way I've ever seen to configure tomcat 4.x
;)  So congratulations on that.  Tomcat 4.x comes with servlet.jar in
$CATALINA_HOME/common/lib: you shouldn't have another copy anywhere.
You shouldn't modify any classpaths, neither in the environment nor in
the tomcat startup/shutdown scripts.  You should just put the classes
your webapp needs in its own WEB-INF/lib or WEB-INF/classes directory.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message