spring-boot-fat-jar-jsp-sample

This jsp sample support fat jar and META-INF/resources in fat jar/exploded directory.

How

  1. Add jsp/jstl dependencies:

        <dependency>
            <groupId>org.apache.tomcat.embed</groupId>
            <artifactId>tomcat-embed-jasper</artifactId>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
        </dependency>
  2. In servlet 3.0 specification, the app can put static resources in META-INF/resources

  3. StaticResourceConfigurer to add fat jar into tomcat ResourceSet.

Run