The following script starts jetty server and opens the folder, specified on command line, for http access (read-only):
Usage:
Usage:
- Save this script to file “jetty.groovy”
- Invoke on command-line:
groovy jetty.groovy /path/to/some/folder" - Enter address in web-browser:
http://localhost:8080/jetty
Комментариев нет:
Отправить комментарий