tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <>
Subject RE: Rewrite features
Date Fri, 04 Nov 2005 09:16:32 GMT

There is a lesser-known but very good rewrite project written as a j2ee filter available at

Ready for use with web apps using context listeners to load rules and so fourth.

I won't pretend to know about performance implications or why it's better to achieve rewrite
at the server core, but I imagine handling this at first opportunity rather than having a
web application handle it may be more optimal.


> -----Original Message-----
> From: Yoav Shapira []
> Sent: 03 November 2005 16:53
> To: Tomcat Developers List
> Subject: Re: Rewrite features
> Hi,
> Cool, I like it.  Two questions:
> - Why the RewriteMap interface?  It does seem to add much 
> over a normal Map,
> and I doubt you're targeting JDK 1.1 compatibility ;)
> - Seems like this could be easily done as a Filter instead of 
> Valve.  The
> lifecycle support would be a bit different, start -> init, 
> stop -> destroy,
> etc, but otherwise it doesn't seem like a stretch...
> Yoav
> --- Remy Maucherat <> wrote:
> > Hi,
> > 
> > As part of the JBoss Web project, I have developed a URL 
> rewrite valve, 
> > more or less cloned on mod_rewrite. It doesn't support 
> everything from 
> > mod_rewrite, and there's no docs at the moment, but it's 
> not too hard to 
> > figure out how to use it.
> > 
> > For looking at it and testing, it's here (of course, it's neither 
> > polished nor well tested at the moment):
> >
> Rémy
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Yoav Shapira
System Design and Management Fellow
MIT Sloan School of Management
Cambridge, MA, USA /

To unsubscribe, e-mail:
For additional commands, e-mail:

QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
Disclaimer:  The information contained within this e-mail is confidential and may be privileged.
This email is intended solely for the named recipient only; if you are not authorised you
must not disclose, copy, distribute, or retain this message or any part of it. If you have
received this message in error please contact the sender at once so that we may take the appropriate
action and avoid troubling you further.  Any views expressed in this message are those of
the individual sender.  QAS Limited has the right lawfully to record, monitor and inspect
messages between its employees and any third party.  Your messages shall be subject to such
lawful supervision as QAS Limited deems to be necessary in order to protect its information,
its interests and its reputation.  

Whilst all efforts are made to safeguard Inbound and Outbound emails, QAS Limited cannot guarantee
that attachments are virus free or compatible with your systems and does not accept any liability
in respect of viruses or computer problems experienced.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message