The structure of the JAR file may matter. & sect; 10.5 Java Servlet 3.0 Spec says:
... For example, for a web application with a path / directory in a web container, the index.html file in the Web application hierarchy database or in the JAR file inside WEB-INF / lib, which includes index.html in the META-INF / resources directory may have served to satisfy the request /catalog/index.html ...
Perhaps try running JSP this way. If it works, all you need is just a Spring InternalResourceViewResolver configured with the correct prefix / suffix.
source share