Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Adding a WEB-INF jar to a webapp programmatically

At development time our app doesn't have any jars in WEB-INF/lib, which means our webapps aren't scanning them for web-fragment.xml. The jars are on the main app's classpath.

Is there any way to tell a WebAppContext programmatically to scan a particular jar?

Ideally, I'd be able to set a context-param or an init-param in web.xml to specify the name or location of the jar.



Back to the top