Index: [Article Count Order] [Thread]

Date: Tue, 15 Feb 2005 14:26:48 -0800
From: lewisd@f00f.net (Derek Lewis)
Subject: [webricken:139] RequestDispatcher, Filters
To: webricken@notwork.org
Message-Id: <20050215222648.GL23232@f00f.net>
X-Mail-Count: 00139

I saw some emails from 2 years ago regarding a patch for Request
Dispatcher, something like part of the Java Servlet 2.3 API, from the
looks of it.  I was fooling around on the weekend and implemented
something similar before I ran across those old posts on the mailing
list.
I notice the author submitted a patch, but it's never been accepted into
CVS.  I think the include/forward mechanisms of the request dispatcher,
in addition to the ability to create a chain of filters (also like Java)
would be incredibly useful for WEBrick, and I know they would make life
easier for application builders.
I'd like to try my hand at implementing the necessary changes to WEBrick
to support filter chains, and an include/forward mechanism, similar to
the Java Servlet 2.3 API, as I mentioned.
I don't think it necessarily needs to be part of WEBrick, although I
think that would be cool.  However, I think I will need to make some
changes to WEBrick to support the filters, probably adding some new
callbacks.
Any tips or guidelines if I want to have these changes accepted into
CVS?

-- 
Derek Lewis

===================================================================
      Java Web-Application Developer
 
      Email    : email@lewisd.com
      Cellular : 778.898.5825
      Website  : http://www.lewisd.com

 "If you've got a 5000-line JSP page that has "all in one" support
 for three input forms and four follow-up screens, all controlled
 by "if" statements in scriptlets, well ... please don't show it
 to me :-).  Its almost dinner time, and I don't want to lose my
 appetite :-)."
      - Craig R. McClanahan