Thanks this does seem to solve the problem of the servlet being
reinitialized on every run.
On Oct 10, 11:10 pm, Adrian Cuthbertson
wrote:
> Hi Dmitri,
>
> The problem is probably related to calling init with args. It requires
> that super() gets called - I can't remember where I saw the
> docume
Hi Dmitri,
The problem is probably related to calling init with args. It requires
that super() gets called - I can't remember where I saw the
documentation, but here's an example of what works for me.
The following is a generic servlet which gets passed a clojure
namespace name as an init paramet
I noticed an odd thing when making a servlet
(ns jms.myservlet
(import (javax.servlet.http
HttpServlet
HttpServletRequest
HttpServletResponse))
(:gen-class
:extends javax.servlet.http.HttpServlet))
(defn -init [& args]
(println "+++ init ran with arg