racket/collects/web-server/default-web-root/servlets/examples
Jay McCarthy d97a87bc62 union -> or/c
svn: r2143
2006-02-06 17:35:37 +00:00
..
compound Fixing examples 2005-09-01 19:46:29 +00:00
add.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
count.ss Modifying count example 2005-09-11 20:01:33 +00:00
dir.ss Fixing examples 2005-09-01 19:46:29 +00:00
english-measure-questions.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
hello.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
quiz.ss union -> or/c 2006-02-06 17:35:37 +00:00
README Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00

This directory contains several examples of PLT-Scheme servlets.

hello.ss
  The hello servlet demonstrates how a minimal servlet can provide 
  functionality similar to server-side includes.

count.ss
  The count servlet shows how a servlet can maintain state between invocations.
  The state is reset when the cache of loaded servlets is refreshed.

add.ss
  The add servlet uses send/suspend to interact with the user multiple times.

quiz.ss english-measure-questions.ss
  The quiz servlet demonstrates how to implement a web-based multiple choice
  quiz. A big thank you to Don Felgar for providing this sample.


To construct a multi-unit servlet that combines code from several files,
see the subdirectory "compound".