I'm trying to get Tomcat to work with my servlets.
I'm using my own directory under $TOMCAT_HOME/webapps/ called "search" (I added the search directory to the server.xml file - this works fine)
I have WEB-INF, lib and classes directories, with my test servlet in the classes directory called "StaffLoginServlet.class" which is supposed to get called from"admlogin.html" in the $TOMCAT_HOME/webapps/search/ directory.
However i get a 404 message from Tomcat saying it can't find it:
description The requested resource (/search/servlet/StaffLoginServlet) is not available.
I have a web.xml in the search/WEB-INF directory:
<?xml version="1.0" encoding="ISO-8859-1"?>
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
i didn't specify the servlet as i don't think i would need to (as it's not under a package), but even if i specify it didn't work.
i've read all docs, no help, and i need help quick.
please help me so you can turn