java - SSM After configuration is complete, access to jsp files can not be accessed html files, parsing error

After the SSM configuration, access to jsp files can not be accessed html files, parsing error 
in the path to ensure that there is no problem in the case, the same page, jsp can be accessed, but not normal html access (404). 

Solution: 
Add the following configuration in web.xml 

< the servlet-Mapping > 
< the servlet-name > default </ the servlet-name > 
< URL-pattern > * .html </ URL-pattern > 
</ the servlet-Mapping >

 

Guess you like

Origin www.cnblogs.com/shenlaiyaoshi/p/11080500.html