Mike Cannon-Brookes wrote:
Guys,
Has anyone thought of writing a Mod_Rewrite clone using Servlet Filters?
Using something like the Jakarta ORO regex package this should be quite
doable?
Any reason that wouldn't work? (I've never actually used Mod_Rewrite, just
read about it).
Mike
Yes, we've thought of it. We created a "SuperServlet" that is set up as
a filter and handles all requests, handing off the requests to the
appropriate code based on some parsing, etc.
We didn't clone mod_rewrite, we just did the pattern matching that we
specifically needed.
--
Joel Shellman
Chief Software Architect
http://www.ants.com/90589781