With 2 simple steps you can achieve this:
-
Add this servletmapping for the JSP servlet:
<servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping>
This tells the application container to use the the JSP servlet when serving html files.
-
Comment out the
<mime-mapping>
fortext/html
mime type (*.html) files so that the container won’t handle HTML files as static content.
Hope this helps.