I don't have concrete example , but some scenario I can think of are : 1. Map a url path to a servlet that does not reside in servlet root directory. 2. Protect certain resource such as files , allowing only authenticated and authorized user to access it. 3. Capture a incoming request , do something with it .
On Tue, Sep 6, 2011 at 6:12 PM, Jay McCarthy <jay.mccar...@gmail.com> wrote: > Can you give an example? > > Jay > > On Tue, Sep 6, 2011 at 6:39 AM, Veer <diggerr...@gmail.com> wrote: >> But this will require duplicating most of what serve/servlet already does. >> >> I was thinking in terms of customizing other user's serve/servlet that >> takes my or someone else dispatcher >> and plugs it in and adding to the existing functionality of serve/servlet. >> >> >> >> >> On Tue, Sep 6, 2011 at 5:24 PM, Jay McCarthy <jay.mccar...@gmail.com> wrote: >>> That's what serve/launch/wait is. If serve/servlet isn't quite >>> customizable enough, you should use serve/launch/wait and perhaps >>> dispatch/servlet >>> >>> Jay >>> >>> On Tue, Sep 6, 2011 at 5:48 AM, Veer <diggerr...@gmail.com> wrote: >>>> I wonder if it is good idea for serve/servlet to take extra keyword >>>> argument for custom dispatcher. >>>> This might be useful for plugin type of application. Just a thought. >>>> _________________________________________________ >>>> For list-related administrative tasks: >>>> http://lists.racket-lang.org/listinfo/users >>>> >>> >>> >>> >>> -- >>> Jay McCarthy <j...@cs.byu.edu> >>> Assistant Professor / Brigham Young University >>> http://faculty.cs.byu.edu/~jay >>> >>> "The glory of God is Intelligence" - D&C 93 >>> >> > > > > -- > Jay McCarthy <j...@cs.byu.edu> > Assistant Professor / Brigham Young University > http://faculty.cs.byu.edu/~jay > > "The glory of God is Intelligence" - D&C 93 > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users