Answer the question
In order to leave comments, you need to log in
How to set the path to the configs?
Is it possible to set paths to jetty.xml and jetty-web.xml programmatically?
Answer the question
In order to leave comments, you need to log in
In fact, Jetty is good because it is configured programmatically and without any XML configs.
If you still need to pass xml files with settings, you can pass them to the Main class . Accordingly, Jetty will have to run through it.
Well, or figure out how to use Configuration implementations . Specifically - JettyWebXmlConfiguration
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question