[plt-scheme] Re: getting webserver URL arguments

From: David Van Horn (dvanhorn at cs.uvm.edu)
Date: Wed Apr 6 10:47:45 EDT 2005

Noel Welsh wrote:
> I stopped going with what I thought worked, and
> investigated what actually did work.  A working servlet is
> below.  I get the impression that nobody develops module
> based servlets, as the documentation omits that you need to
> require servlet-sig.ss to get request-bindings.   The
> online documentation also doesn't mention the helper
> procedures are in servlet-helpers.ss

I develop module based servlets, so there exists at least one.  I think people 
just stumble over this problem again and again: you need servlet-sig in a 
module servlet to get bindings for the request structure (request-bindings is 
just an accessor after all).  The documentation should point this out, which 
has been pointed out (Jan'04).  It would also be nice to have a module servlet 
example that used the request structure included in the distribution.

David



Posted on the users mailing list.