Configure embedded jetty with web.xml?
Use a org.eclipse.jetty.webapp.WebAppContext Example: package jetty; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.webapp.WebAppContext; public class OnWebApp { public static void main(String[] args) throws Exception { // Create a basic jetty server object that will listen on port 8080. // Note that if you set this to port 0 then a randomly available port // will be assigned that … Read more