1.

Explain how you can override the default properties of Spring boot projects.

Answer»

By specifying properties in the application.properties FILE, it is possible to override the default properties of a spring boot PROJECT.  

EXAMPLE
In Spring MVC applications, you need to SPECIFY a suffix and prefix. You can do this by adding the properties LISTED below in the application.properties file. 

  • For suffix – spring.mvc.view.suffix: .jsp 
  • For prefix – spring.mvc.view.prefix: /WEB-INF/ 


Discussion

No Comment Found