12

Example: Compojure web app (ns hello-world (:use compojure.core, ring.adapter.jetty) (:require [compojure.route :as route])) (defroutes main-routes (GET "/" [] "<h1>Hello World</h1>") (route/not-found "<h1>Page not found</h1>")) (run-jetty main-routes {:port 8080}) Source: http://github.com/weavejester/compojure shorter than your web.config!

13 Publizr (dev) Home


You need flash player to view this online publication