Skip to content Skip to sidebar Skip to footer

Serving Static Html Files Using DefaultServlet On Embedded Jetty

I'm working on a project that needs to be self contained so I've decided to embed Jetty in my app. I'm gonna be serving static HTML pages, a few JSP pages, and also will be using

Solution 1:

webapp is the directory you should create and place your static files in. :) If you have a maven project it'll be "src/main/webapp" in the root of your project.

Hope that helps.

Cheers, Thomas


Post a Comment for "Serving Static Html Files Using DefaultServlet On Embedded Jetty"