Great, that would be nice!
On Feb 18, 12:44 am, James Reeves wrote:
> On 17 February 2011 13:54, Zhenchao Li wrote:
>
> > By the way, when deploying the project it seems compojure somehow uses
> > java.rmi.server.UID if you use compojure.handler, and on app engine
> > ja
ght be
useful for people googling about similar errors.
On Feb 17, 7:02 pm, James Reeves wrote:
> On 17 February 2011 03:13, Zhenchao Li wrote:
>
> > This is how I define my app:
>
> > (defroutes index
> > (GET "/" [] (main-page))
> > (GET "/form&q
Ah!
Turns out when I started the server using appengine.server/start-
server I accidently passed in the original index handler! No wonder it
did not work. It works just fine now. Thanks for your reply!
On Feb 17, 4:07 pm, Zmitro Lapcjonak wrote:
> On Feb 17, 5:13 am, Zhenchao Li wr
This is how I define my app:
(defroutes index
(GET "/" [] (main-page))
(GET "/form" [] (render-page "Vote" (render-form)))
(POST "/vote" {params :params} (post-vote params))
(route/not-found "Page not found"))
(def app (site index))
(defservice app)
The site here is used to capture