Skip to content

Instantly share code, notes, and snippets.

@christianberg
Created May 11, 2010 13:23
Show Gist options
  • Save christianberg/397298 to your computer and use it in GitHub Desktop.
Save christianberg/397298 to your computer and use it in GitHub Desktop.
(ns compojureongae.core
(:gen-class :extends javax.servlet.http.HttpServlet)
(:use compojure.core
ring.util.servlet)
(:require [compojure.route :as route]))
(defroutes example
(GET "/" [] "<h1>Hello World Wide Web!</h1>")
(route/not-found "Page not found"))
(defservice example)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment