[racket] How does the web server find servlets?

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Sat Sep 3 20:58:01 EDT 2011

On Sat, Sep 3, 2011 at 2:56 PM, Doug Orleans <dougorleans at gmail.com> wrote:
> On Sat, Sep 3, 2011 at 4:31 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
>> Basically, "plt-web-server" isn't customizable at all. If you want to
>> do what you're talking about, then you want to hook into the things
>> that serve/servlet (and dispatch/launch/wait) provide
>
> It sounds like what you're saying is that the answer to my question is
> "no, you have to recreate the entire chain of dispatchers by hand."

No, because serve/servlet uses the same dispatching chain but allows
you to customize more.

>
> What is dispatch/launch/wait?

Sorry, I meant serve/launch/wait

http://docs.racket-lang.org/web-server-internal/web-server.html?q=dispatch/launch/wait#(def._((lib._web-server/servlet-dispatch..rkt)._serve/launch/wait))

Jay
>
> --Doug
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.