A
A
Andrey Unger2013-11-19 21:23:45
Java
Andrey Unger, 2013-11-19 21:23:45

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

1 answer(s)
R
Ruslan Lopatin, 2013-11-20
@Cobalt

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 question

Ask a Question

731 491 924 answers to any question