2005-04-30 | paulb | raw annotate files changeset graph | [project @ 2005-04-30 20:31:51 by paulb] Introduced sessions documentation. Improved other documentation in minor ways. Removed the text documentation about sessions, since it is now included in the introductory documentation. Added users documentation by taking some material from the authenticators document. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters import JavaServlet 4 from VerySimple import VerySimpleResource 5 from javax.servlet.http import HttpServlet 6 7 class VerySimpleApp(HttpServlet): 8 def __init__(self): 9 HttpServlet.__init__(self) 10 self.dispatcher = JavaServlet.Dispatcher(VerySimpleResource()) 11 12 def service(self, request, response): 13 self.dispatcher.service(request, response) 14 15 # vim: tabstop=4 expandtab shiftwidth=4