2014-11-24 77 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