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 46615 invoked from network); 16 Aug 2000 17:08:00 -0000 Received: from sdsl-208-185-176-210.dsl.sjc.megapath.net (HELO mail.nexsi.com) (@208.185.176.210) by locus.apache.org with SMTP; 16 Aug 2000 17:08:00 -0000 Received: from nexsi.com (IDENT:dfu@mouse.nexsi.com [172.16.1.21]) by mail.nexsi.com (8.9.3/8.9.3) with ESMTP id DAA19765; Wed, 16 Aug 2000 03:10:51 -0700 Sender: dfu@nexsi.com Message-ID: <399ACB20.9CE9EA79@nexsi.com> Date: Wed, 16 Aug 2000 10:10:56 -0700 From: Diana Fu Organization: Nexsi Corporation X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Frank Applin , tomcat-user@jakarta.apache.org Subject: Re: url mapping problem References: <3999CBF7.E00C300@nexsi.com> <00ca01c00773$2fae00e0$01fea8c0@FAAMachine> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N from what i understand, port 8080 is for tomcat running stand-alone. i want apache to pass the request on to tomcat via the standard httpd port. (and yes, what you proposed would work, but my problem is that myapp/hello url mapping doesn't work) thanks. Frank Applin wrote: > Try http://localhost:8080/myapp/servlet/Hello and see if that helps. > > Frank > > ----- Original Message ----- > From: "Diana Fu" > To: > Sent: Tuesday, August 15, 2000 6:02 PM > Subject: url mapping problem > > > i'm learning to run the hello app that was used in the "Developing > > Application with Tomcat" doc, > > and am running into url mapping problems. > > > > in usr/tomcat/conf/tomcat.conf, i added: > > ApJServMount /myapp /root > > > > AllowOverride None > > deny from all > > > > > > in usr/tomcat/conf/server.xml, i added: > > > reloadable="true"> > > > > > > in usr/tomcat/webapps/myapp/WEB-INF/web.xml, i have: > > > > > > HelloServlet > > Hello > > > > > > > > HelloServlet > > /hello > > > > > > i can get to the servlet by going to > > http://localhost/myapp/servlet/Hello as expected. > > however, http://localhost/myapp/hello returns: > > Not Found > > The requested URL /myapp/hello was not found on this server. > > > > it appears that the servlet url mapping isn't working. what did i do > > wrong? > > > > thanks, > > > > diana > >