Solve the problem of spring-boot modifying the jsp file and restarting to take effect

When using springboot before, when you changed the jsp file in version 1.3, you could directly access the project to see the modification. Based on the company's project structure, it was found that the change in jsp needed to restart the project to take effect. Later, check the official update log, and the 1.5 version needs to be manually configured directly. An option that takes effect and is recommended to be used only during the development phase.

The startup configuration is as follows:

In the application-dev.properties file add:

 

server.jsp-servlet.init-parameters.development=true

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326261432&siteId=291194637