2014-11-24 43 views

回答

0

有2種推薦的方法。

  1. 如果started Jetty with the STOP.KEY and STOP.PORT command line,那麼你可以使用那些相同的價值觀與--stop命令行選項。

  2. 如果您安裝,配置,然後啓動Jetty as a service,那麼您可以使用Windows服務實用程序啓動/停止/重新啓動Jetty。

+0

我開始使用這個Clojure代碼:'(run-jetty handler {:port 3000})''。我在這裏做了入門教程:https://github.com/ring-clojure/ring/wiki/Getting-Started。 – Ryan 2014-11-25 21:19:02

+0

那麼你的答案將是Clojure特定的。 – 2014-11-26 14:09:05