I ran out of static html/jss/css blocks I could externalize into jsp:include
(mostly non-static html was left) …
You can put in your web.xml
, mappedfile set to false like so to get rid of many static lines that aren’t necessarily good blocks to put into an include, but they add up to save space:
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
...
<init-param>
<param-name>mappedfile</param-name>
<param-value>false</param-value>
</init-param>
...
</servlet>
Peter Hart’s <c:catch>
solution sounds like nice option as well.