0

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.

  • 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 Answers1

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