org-arl / fjage

Framework for Java and Groovy Agents
https://fjage.readthedocs.io/en/latest/
Other
26 stars 13 forks source link

Use DefaultServlet instead of ResourceHandler to serve static files. #320

Open notthetup opened 3 months ago

notthetup commented 3 months ago

https://github.com/perwendel/spark/issues/316

https://stackoverflow.com/questions/20207477/serving-static-files-from-alternate-path-in-embedded-jetty/20223103#20223103

https://stackoverflow.com/questions/34100735/serve-static-content-on-a-per-servlet-basis

https://stackoverflow.com/questions/39011587/jetty-default-servlet-context-path

notthetup commented 3 months ago

While we're doing this, we should also add a flag to enable directory listing of a context.