You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Forge <fo...@neonics.com> on 2001/07/07 00:14:18 UTC

Catalina and my own servlet



Hi there,

I downloaded tomcat 4.0-b5 and it runs fine. (using jdk 1.3; java 1.2
segfaults).

I copied HelloWorldExample.java, renamed it to TestServlet.java,
compiled it (agains the servlet.jar that comes with catalina)
set up a test context, with correct web.xml (which states that the
servlet must be loaded at start time)

but when I restart the engine I get the famous

TestServlet is not a Servlet

exception.

I cannot recompile tomcat since I dont have all the tools required...

Any ideas?