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 <[EMAIL PROTECTED]> 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):
>
http://anonsvn.labs.jboss.com/trunk/labs/jbossweb/src/share/classes/org/jboss/web/rewrite/
> 
> Rémy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


Yoav Shapira
System Design and Management Fellow
MIT Sloan School of Management
Cambridge, MA, USA
[EMAIL PROTECTED] / www.yoavshapira.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to