I am trying to add *.html page in tiles definition, but it's displaying runtime exception, this page is static; but when i change extension from html to jsp, it works fine.
Asked
Active
Viewed 103 times
0
-
Possible duplicate of [Running .jsp as .html file](https://stackoverflow.com/questions/9256122/running-jsp-as-html-file) – KNV Srinivas Jun 28 '17 at 06:51
1 Answers
0
add the following code
<servlet-mapping> <servlet-name>jsp</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping>
in web.xml

KNV Srinivas
- 61
- 2
- 10