I noticed that org.glassfish.jersey.servlet.ServletContainer
is required to be used as Filter
(setting spring.jersey.type=filter
in spring boot's application.properties
) instead than as a Servlet
in order to provide access to static resources (e.g. /static/somefile.jsp
, /static/myfile.css
).
Since I am forced to use ServletContainer
as a Servlet
, is there any workaround to allow static resources with this limitation?