Pregunta

According to Servlet 3.0, a JAR placed in WEB-INF/lib has static content from its META-INF/resource directory accessible from the web-context root.

The specification doesn't say anything about modular resources, which should be accessible from the WEB-INF directory. I would like to create a modular project, where every module "adds" all files from its WEB-INF directory to the web-context/WEB-INF directory. Is it possible?

¿Fue útil?

Solución

OK I understand.. Simply create a folder META-INF/resources/WEB-INF :)

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top