Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 91255 invoked from network); 11 Feb 2002 13:18:08 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Feb 2002 13:18:08 -0000 Received: (qmail 29500 invoked by uid 97); 11 Feb 2002 13:17:37 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 29463 invoked by uid 97); 11 Feb 2002 13:17:36 -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 29452 invoked from network); 11 Feb 2002 13:17:36 -0000 Message-ID: <40C4228EC468D211B04800A0C9DF1D6601F9107B@tsexchange.idt.cdc.fr> From: "Coetmeur, Alain" To: "'Tomcat Users List'" Subject: RE: Url Rewriting in Tomcat4.0 Date: Mon, 11 Feb 2002 14:17:13 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N look about the Valves... http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/valve.html http://jakarta.apache.org/tomcat/tomcat-4.0-doc/catalina/docs/api/org/ap= ache /catalina/Valve.html one limitation in using Valves is that one cannot change the content of a request is it has already been used by a previous valve... this mean that probably you will have to stack your URL rewriting valve before (over) the=20 usual valves which map URL to servlets... I've never uses valves myself but it looks like NTKernel Device Drivers and should be very flexible. > -----Message d'origine----- > De: Jiger Java [mailto:jigerjava@hotmail.com] > Date: lundi 11 f=E9vrier 2002 12:17 > =C0: tomcat-user@jakarta.apache.org > Objet: Url Rewriting in Tomcat4.0 >=20 >=20 > Hi, > Is is possible to do url rewriting in Tomcat. Something=20 > such that when=20 > a request like >=20 > http://www.server.com/reseller comes in then the server will > execute/get/map/etc etc & the final url will become as > http://server.com/servlet/LoginServlet?role=3Dreseller > which is then the named servlet be executed. The=20 > allows=20 > only Servlet Class file name & alias but not alias with=20 > params. Can we do so=20 > in Tomcat 4.0. >=20 > Thanks & Awaiting your replies, > Jiger >=20 >=20 >=20 >=20 > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos:=20 > http://photos.msn.com/support/worldwide.aspx >=20 >=20 > -- > To unsubscribe: > For additional commands: > Troubles with the list: >=20 -- To unsubscribe: For additional commands: Troubles with the list: