in Technology by
How can we override the default properties of Spring boot projects?

1 Answer

0 votes
by

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/ 

Related questions

0 votes
    How Do You Override a Spring Boot Project’s Default Properties?...
asked Nov 15, 2020 in Technology by Editorial Staff
0 votes
    How to override or replace the Embedded tomcat server in Spring Boot?...
asked Jul 7, 2021 in Technology by JackTerrance
0 votes
    What is the default port of tomcat in spring boot?...
asked Jul 7, 2021 in Technology by JackTerrance
0 votes
    Default HTML template engine in Spring Boot? 1. JSP 2. HTML 3. Thymeleaf 4. None of the Above...
asked Jul 8, 2021 in Education by JackTerrance
0 votes
    For which of the following criteria can Spring boot auto configuration be done? A. Presence of a System Property B. ... of a particular class in classpath E. All the options...
asked Nov 8, 2022 in Education by JackTerrance
0 votes
    How to create a non-web application in Spring Boot?...
asked Jul 7, 2021 in Technology by JackTerrance
0 votes
    How does a spring boot application get started?...
asked Jul 7, 2021 in Technology by JackTerrance
0 votes
    How Is Spring Security Implemented In a Spring Boot Application?...
asked Nov 15, 2020 in Technology by Editorial Staff
0 votes
    How does Spring Boot works?...
asked Jul 5, 2021 in Education by JackTerrance
0 votes
    We have a requirement for a dexterity content type to have exclude from navigation behaviour but for the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 2, 2022 in Education by JackTerrance
0 votes
    Spring Boot is example of __________. A. Service Deployment B. Service registry C. Chassis Framework D. API Gateway...
asked Jan 11, 2023 in Technology by JackTerrance
0 votes
    Which of the following enables production-ready features to the spring boot application? 1. Endpoint 2. Actuators 3. Boot 4. None of the above...
asked Jul 25, 2021 in Technology by JackTerrance
0 votes
    What is the role of actuator in spring boot?...
asked Jul 23, 2021 in Technology by JackTerrance
0 votes
    Explain about the spring cloud and spring boot?...
asked Jul 23, 2021 in Technology by JackTerrance
0 votes
    Is it possible to change the port of the embedded Tomcat server in Spring Boot?...
asked Jul 7, 2021 in Technology by JackTerrance
...