Hi,
I do have the web-content key. I had to postpone work on this issue
(I'm waiting for my flight
right now to get the ClojureConj). They were too many items in the
checklist before I could leave..
I'll resume on this either while in Raleigh or upon my return. Right
now I feel a bit stunned by t
On 18 October 2010 19:06, wrote:
> The routes are the following (after several attempts with the file wrapper):
>
> (defroutes app-routes
> (GET "/patient" [patient-id]
> (render-page "Dossier médical") (render-page (load-patient-mr
> patient-id)))
> (GET "/req" req (str req))
> (GET "/f
Hey Luc,
Are you deploying to Tomcat using a war file? Are you perhaps missing
the :web-content key in your project.clj file (I presume you're using
Leiningen + leiningen-war)
(defproject myproject "0.0.1"
:description ""
:dependencies [[org.clojure/clojure "1.2.0"]
This is a more recent tutorial than what I had in my hands up to now
so I'll work on it tonight and look at the example app closely.
Thank you
Luc P.
Linus Ericsson wrote ..
> This tutorial covers the subject pretty well, I assume you've already read
> it.
>
> http://mmcgrana.github.com/2010/0
This tutorial covers the subject pretty well, I assume you've already read
it.
http://mmcgrana.github.com/2010/07/develop-deploy-clojure-web-applications.html
according to it you should use
"Next, include the necessary Ring middleware:
(:use ring.middleware.file)
(:use ring.middleware.file-info
Hi everyone,
I have been banging my head on the walls for a few hours now and really cannot
figure out the proper way to serve static files in a Compojure application
deployed on Tomcat or Glassfish...
Feeling pretty dumb in fact...
I tried to configure the default servlet to catch up requests b