Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 54830 invoked from network); 5 Oct 2000 21:31:01 -0000 Received: from unknown (HELO pns.siw-gt.de) (root@62.159.14.194) by locus.apache.org with SMTP; 5 Oct 2000 21:31:01 -0000 Received: from schaper.org (root@p3E9D0B45.dip.t-dialin.net [62.157.11.69]) by pns.siw-gt.de (8.8.8/8.8.8) with ESMTP id XAA00107 for ; Thu, 5 Oct 2000 23:32:53 +0200 Sender: root@pns.siw-gt.de Message-ID: <39DD0EF0.EF13AA83@schaper.org> Date: Fri, 06 Oct 2000 01:29:52 +0200 From: Christoph Schaper Reply-To: christoph@siw-gt.de Organization: www.schaper.org X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i586) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: Can't figure out how get a servlet to run! References: <39DCD82E.59F88AE1@oven.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Paul Hoepfner-Homme wrote: > I got a webmail application called Sak=E9 Mail that I am trying to inst= all > onto my Tomcat server (it's servlet-based). I've had no trouble instal= l > it onto other Java servlet runners (like JServ and ATG Dynamo) but thos= e > runners only support the 2.0 servlet specification apparently, and this= > webmail app needs a runner that is at least 2.1-compliant (which Tomcat= > is). I managed to get those runners to find and run the servlet, but i= t > gave errors because they weren't 2.1-compliant, so that's when I > realized I needed Tomcat. If your servlet needs at least a 2.1 compliant engine but you could install it on an engine that isnt ????? how did you do that ? put your jar file under your webapps/ROOT/lib dir put your classes under webapps/ROOT/WEB-INF/classes/ and maybe read the docs and readmes work on your server.xml and your web.xml sorry but you dont really make sense > The last step doesn't work (404). In fact, nothing that's of the form > http:///servlet/... works. There's no such think as > /servlet, in fact. There is, however, such thing as /examples/servlet,= > because that's how all of the example servlets that came with Tomcat > worked. You can "alias servlets in your web.xml under WEB-INF example : Servlet1 Servlet1 Servlet1 /HelloWorld.htm = so something like http://myserver.com/servlet/Servlet1 becomes http://myserver.com/HelloWorld.htm - = --------------------------------------- Christoph Schaper email :christoph@schaper.org homepage http://schaper.org/christoph http://schaper-edv.de ---------------------------------------