InterviewSolution
| 1. |
How Can You Override Default Properties In Spring Boot Project? |
|
Answer» SPRING boot provides a lot of PROPERTIES which can be OVERRIDDEN by specifying them in application.properties. For example: You want to specify prefix and suffix in Spring MVC applications. You can SIMPLY do it by putting below properties in application.properties. spring.mvc.view.prefix: /WEB-INF/ spring.mvc.view.suffix: .JSP Spring boot provides a lot of properties which can be overridden by specifying them in application.properties. For example: You want to specify prefix and suffix in Spring MVC applications. You can simply do it by putting below properties in application.properties. spring.mvc.view.prefix: /WEB-INF/ spring.mvc.view.suffix: .jsp |
|