On Tue, Nov 30, 2010 at 6:08 PM, <lprefonta...@softaddicts.ca> wrote: > For my part, I need stuff done prior to anything being done including > routing a request and I need to access the servlet context.
Given any of the many singleton/runonce implementations that have been posted, you just need to make sure that everything that falls under your "anything being done including routing a request" calls the runonce before doing anything else, and the runonce code will be run just before the first instance of "anything being done including routing a request". -- 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