Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 57515 invoked from network); 15 Apr 2003 07:07:17 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 15 Apr 2003 07:07:17 -0000 Received: (qmail 2700 invoked by uid 97); 15 Apr 2003 07:09:22 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 2693 invoked from network); 15 Apr 2003 07:09:22 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 15 Apr 2003 07:09:22 -0000 Received: (qmail 55856 invoked by uid 500); 15 Apr 2003 07:06:54 -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 55845 invoked from network); 15 Apr 2003 07:06:53 -0000 Received: from smtp1.libero.it (193.70.192.51) by daedalus.apache.org with SMTP; 15 Apr 2003 07:06:53 -0000 Received: from c64 (62.98.69.6) by smtp1.libero.it (7.0.012) id 3E95468600194312 for tomcat-user@jakarta.apache.org; Tue, 15 Apr 2003 09:07:05 +0200 Message-ID: <006601c3031d$f5284da0$0645623e@c64> From: To: "Tomcat Users List" References: <9B1C77393DED0D4B9DAA1AA1742942DA3BCB4E@pos_pdc.posportal.com> <003f01c30220$d4df0320$4746623e@c64> Subject: servlet doing dispatcher service Date: Tue, 15 Apr 2003 09:09:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 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 In my previous mail (here below), I forgot to change the Subject of my email, sorry :) Anyway, my quesiton is still here below. -----Messaggio Originale----- Da: A: "Tomcat Users List" Data invio: lunedì 14 aprile 2003 2.57 Oggetto: Re: Standalone Tomcat/Multiple SSL Certs > Hello, > i have a site composed of 4 html files and a servlet. > I would like that to access a servlet i would reach this address: > > www.host.ext > > and to access the HTML files i have to digit those address below: > > www.host.ext/first.html > www.host.ext/second.html > ... > www.host.ext/fourth.html > > Since i cannot achieve this result using the web.xml and server.xml, Im > planning to write a simple Servlet, mapped onto the /* URL path, to map a > request to the appropriate servlet/html resource. For example i want that > accessing the URL www.host.ext/AnyText/AnyText i would be always be served > by the servlet. Accessing > the URL www.host.ext/first.html i would be served by Coyote returning just > the html file, and so on. > I know that i have to use RequestDispatcher and forward() method, but i > would like to read more info about than the Javadocs. > > Any servlet example already written and available to be read on any site? > > Thanks > luca > > > --------------------------------------------------------------------- > 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