I can't find it either.  The closest thing seems to be the servlet
macro:

(definline servlet
  "Create a servlet from a sequence of routes. Automatically updates
if
  the routes binding is redefined."
  [routes]
  `(proxy [HttpServlet] []
     (~'service [request# response#]
       (request-handler [~'this request# response#]
         ~routes))))

from servlet.clj



On Jan 19, 5:19 pm, Jeff Schwab <j...@schwabcenter.com> wrote:
> Hi:
>
> The compojure wikibook claims that compojure provides a defservlet
> function, along with other syntactic conveniences that I seem to be
> missing.  Grepping the git log didn't turn up anything relevant, so I'm
> wondering:  Is compojure supposed to provide defservlet, or should I fix
> the wikibook?
>
> http://en.wikibooks.org/wiki/Compojure/Core_Libraries
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to