Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 41934 invoked from network); 23 Jun 2003 16:56:43 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 23 Jun 2003 16:56:43 -0000 Received: (qmail 6982 invoked by uid 97); 23 Jun 2003 16:59:07 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 6974 invoked from network); 23 Jun 2003 16:59:07 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 23 Jun 2003 16:59:07 -0000 Received: (qmail 38056 invoked by uid 500); 23 Jun 2003 16:55:58 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 37967 invoked from network); 23 Jun 2003 16:55:57 -0000 Received: from outgoing.callsciences.com (HELO vljcms11.ucmretail.internal.callsciences.com) (67.17.166.10) by daedalus.apache.org with SMTP; 23 Jun 2003 16:55:57 -0000 Received: from CallSciences (unverified [172.21.6.78]) by ucmmail.com (Rockliffe SMTPRA 5.2.5) with SMTP id for ; Mon, 23 Jun 2003 12:56:00 -0400 Message-ID: From: cknell@onebox.com To: tomcat-user@jakarta.apache.org Subject: Getting servlet to run Date: Mon, 23 Jun 2003 12:56:00 -0400 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Environment: Windows XP, Tomcat 4.1.24, Sun JVM 1.4.1_02-b06 I managed to fix my problem running JSPs in an application directory I created. Now I'm moving on to getting a servlet to run. I have copied and compiled two servlets from different books. One I put in "D:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\WEB-INF\classes". The second one, which is part of a package called "chapter2" I put in "D:\Program Files\Apache Group\Tomcat 4.1\webapps\apress\WEB-INF\classes\chapter2". Both compiled without complaint. I stopped and re-started Tomcat and pointed my browser at each in turn and got these messages: "The requested resource (/servlet/HelloWorld) is not available." "The requested resource (/apress/servlet/chapter2.login) is not available." The log file doesn't show anything suggesting a problem. Do all rank Tomcat beginners have this much trouble? If so, how did it get to be so popular? Can anyone suggest an approach? Thanks. -- Charles Knell cknell@onebox.com - email --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org