How to get Jetty boot resources from a JAR file?

I am running a JSF application on Jetty 8. I have one jar file with web resources (/META-INF/resources/test.xhtml), for some reason the context from this resource is not added to WebAppContext. When I use the maven jetty plugin, the server adds a web context, and you can access the file "test.xhtml".

How to load Jetty download resources from a JAR file?

+4
source share

Source: https://habr.com/ru/post/1411273/


All Articles