I'm running Jetty through command line java -Djetty.port=8082 -jar start.jar
. I need Jetty only for serving HTML files that would be viewed locally in web browser.
I wonder how can I specify the path to the directory where the HTML files are located? I mean the files are located in the location other than default Jetty webapps directory. Please note that I cannot manipulate files in Jetty directory.
Regards, Rafal
Try this Multiple webapps source
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.