Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 94872 invoked from network); 26 Feb 2003 19:22:05 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 26 Feb 2003 19:22:05 -0000 Received: (qmail 29804 invoked by uid 97); 26 Feb 2003 19:23:42 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 29796 invoked from network); 26 Feb 2003 19:23:41 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 26 Feb 2003 19:23:41 -0000 Received: (qmail 91781 invoked by uid 500); 26 Feb 2003 19:21:17 -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 91746 invoked from network); 26 Feb 2003 19:21:17 -0000 Received: from web14707.mail.yahoo.com (216.136.224.124) by daedalus.apache.org with SMTP; 26 Feb 2003 19:21:17 -0000 Message-ID: <20030226192121.67095.qmail@web14707.mail.yahoo.com> Received: from [207.43.195.203] by web14707.mail.yahoo.com via HTTP; Wed, 26 Feb 2003 11:21:21 PST Date: Wed, 26 Feb 2003 11:21:21 -0800 (PST) From: Steve Guo Subject: RE: Manual servlet deployment problems on 4.1.18 To: Tomcat Users List In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1598412718-1046287281=:64849" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --0-1598412718-1046287281=:64849 Content-Type: text/plain; charset=us-ascii >3. I've tried referring to the servlet using the URI's: >localhost:8080/simple > localhost:8080/servlet/simple You tried to make it simple, but actually made it complicated. Your webapp is simple, so you should invoke the servlet by: localhost:8080/simple/simple localhost:8080/simple/servlet/simple Naming all the same tends to confuse users (not sure confuses Tomcat or not). Why not try: 'test' for the webapp 'Simple' for the servlet 'simple' for the servlet name in web.xml then you will invoke by http://localhost:8080/test/servlet/Simple or http://localhost:8080/test/servlet/simple or http://localhost:8080/test/simple Good luck. Steve Hole wrote:On Wed, 26 Feb 2003 13:12:47 -0500 "Shapira, Yoav" wrote: > > Howdy, > > >The servlet was deployed as: > > > > {CATALINA_HOME}/webapps/simple > > {CATALINA_HOME}/webapps/simple/WEB-INF/web.xml > > {CATALINA_HOME}/webapps/simple/WEB-INF/classes/simple.class > > >The web.xml file contains (less the ---- delimiters): > > > > simple > > ca.esys.simple > > > > That's a mismatch. If the servlet is in package ca.esys then it should > be under WEB-INF/clases/ca/esys/simple.class. Actually, that is a cut and paste error in the mail message. My apologies. The web.xml file actually contains: simple simple The version that I put in the earlier message was my attempt to try deploying under a package, which also did not work. Cheers. --- Steve Hole Chief Technical Officer - Electronic Billing and Payment Systems ACI Worldwide Email: holes@aciworldwide.com Phone: 780 424 4922 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------- Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more --0-1598412718-1046287281=:64849--