[plt-scheme] starting 2 servlets at the same time

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Sep 23 11:59:28 EDT 2009


Write one servlet and one serve/servlet call, but have that one
servlet be implemented by your previous two servlets based on the url
with dispatch-rules.


On Wed, Sep 23, 2009 at 9:03 AM, Vika Lapsar <vika.lapsar at gmail.com> wrote:
> I'm trying to write servlets using this manual.
> http://docs.plt-scheme.org/continue/index.html
> With  two different 'start' functions(should i call 2  serve/servlet
> functions?) works only first servlet.
> 2009/9/23 Jay McCarthy <jay.mccarthy at gmail.com>
>> If you run the CLI it is easy to do this.
>> If you construct your own dispatcher with the sequence dispatcher and
>> two dispatch/servlets, it is also easy.
>> If you use web-server/dispatch, you can run one "servlet" that calls
>> two different 'start' functions based on the URL, this way is also
>> easy.

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.