[plt-scheme] servlet-dispatcher and static files.

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Tue Jan 26 20:44:29 EST 2010

(next-dispatcher) is a signal to the Web server that the current
dispatcher (ie the servlet dispatcher) doesn't apply and that it
should try the next dispatcher (ie the static file dispatcher)

Your current implementation has an 'else' that catches everything and
doesn't allow the static file dispatcher to run.


On Tue, Jan 26, 2010 at 6:39 PM, Vika Lapsar <vika.lapsar at gmail.com> wrote:
> Sorry, but I cant understand how (next-dispatcher) can help me with static
> files.
> Could you explain it?
> Thanks.
> 2010/1/27 Jay McCarthy <jay.mccarthy at gmail.com>
>> Your "start-error" should call (next-dispatcher) to signal to the Web
>> server to no longer treat the request as a servlet request OR should
>> reimplement file serving. Obviously it is better to call
>> (next-dispatcher).
>> Jay

Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

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

Posted on the users mailing list.