Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 85702 invoked from network); 8 Jul 2003 21:45:57 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 8 Jul 2003 21:45:57 -0000 Received: (qmail 29920 invoked by uid 97); 8 Jul 2003 21:48:29 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 29913 invoked from network); 8 Jul 2003 21:48:28 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 8 Jul 2003 21:48:28 -0000 Received: (qmail 84244 invoked by uid 500); 8 Jul 2003 21:45:42 -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 84229 invoked from network); 8 Jul 2003 21:45:42 -0000 Received: from unknown (HELO mail.agorex.com) (199.243.102.219) by daedalus.apache.org with SMTP; 8 Jul 2003 21:45:42 -0000 Received: from laptop (CPE002078db8e12-CM014500001738.cpe.net.cable.rogers.com [24.114.80.249]) by mail.agorex.com (8.11.2/8.11.2) with SMTP id h68Lik108960 for ; Tue, 8 Jul 2003 17:44:46 -0400 Message-ID: <002701c3459a$cd656400$0401a8c0@laptop> From: "Mark Biciunas" To: "Tomcat Users List" References: <00fe01c34591$b537bfd0$64b7fea9@name6msdjw95pe> Subject: Re: images not appearing Date: Tue, 8 Jul 2003 17:49:25 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I changed webapps/helloworld/WEB-INF/web.xml to have a url pattern of /hello. I also changed conf/server.xml to set the Context path="/hello". When I go to my browser with http://192.168.1.3/hello, I get a directory listing for /. This is great because I can see the images directory (with my images properly in place). Unfortunately, the servlet doesn't execute at all???? I would like to think I would see the servlet executing. Any ideas? Also, this solution is problematic anyways, as I need to parse all incoming requests and respond to them, Only multimedia (images, etc.) should not be handled by the servlet. BTW, I can't find the spec SVR.11 - anyone have a link? Mark Biciunas mark.biciunas@agorex.com ----- Original Message ----- From: "Stefan Radzom" To: "'Tomcat Users List'" Sent: Tuesday, July 08, 2003 4:44 PM Subject: RE: images not appearing > > -----Original Message----- > > In webapps/hello/WEB-INF/web.xml, I have the following: > > > > > > ... > > > > helloworld > > helloworld.Hello > > > > > > > > helloworld > > / > > > > > > > > > > > > You are trying to map every request to your helloworld servlet. This means > really *all* requests (including images etc.) Try to be a bit more specific, > like /helloworld . See the spec (SRV.11) for more > details on request mappings. > > -Stefan > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org