From tomcat-user-return-44424-qmlist-jakarta-archive-tomcat-user=jakarta.apache.org@jakarta.apache.org Mon Dec 09 17:08:09 2002 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 40631 invoked from network); 9 Dec 2002 17:08:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 9 Dec 2002 17:08:09 -0000 Received: (qmail 26118 invoked by uid 97); 9 Dec 2002 17:08:29 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 25990 invoked by uid 97); 9 Dec 2002 17:08:28 -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 25938 invoked by uid 98); 9 Dec 2002 17:08:26 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <5DE7B60BFBA5D411B961000629D5225552D720@NYCCNDX3> From: "Johnson, Garrett" To: 'Tomcat Users List' Subject: RE: Cannot Run Servlets, only JSP's (Attn: Troy) Date: Mon, 9 Dec 2002 12:08:38 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Troy, No, actually: I've got the directory structure like this: TOMCAT_HOME\webapps\onjava\WEB-INF\classes\com\onjava\login.class Is that the problem? Is the \classes directory superfluous? Is it hiding the class files? Is perhaps the turorial, written for Tomcat 4.0, out of date on this? Is the elimination of the \classes directory something new? -----Original Message----- From: Campano, Troy [mailto:Troy.Campano@LibertyMutual.com] Sent: Monday, December 09, 2002 12:02 PM To: Tomcat Users List Subject: RE: Cannot Run Servlets, only JSP's Do you have a directory structure like this? TOMCAT_HOME/webapps/onjava/WEB-INF/com/onjava/ thanks. ~ t r o y ~ -----Original Message----- From: Johnson, Garrett [mailto:JohnsonG@cbsnews.com] Sent: Monday, December 09, 2002 11:59 AM To: 'Tomcat Users List' Subject: Cannot Run Servlets, only JSP's I'm running through the O'Reilly (onjava.com) tutorial on deploying applications in Tomcat, and I can't seem to get servlets to work. I render JSP's just fine, but once I request a servlet, I get a an HTTP Status 404 error: The requested resource (/onjava/servlet/com.onjava.login) is not available. Does anyone have any idea why this would happen? I can include any necessary log files if requested, but I've wandered through them and they don't _appear_ to be of any help. -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: