Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
How do you override a Spring Boot Project’s Default Properties?
Home
Service Discovery
How do you override a Spring Boot Project’s Default Properties?
+1
vote
asked
Dec 20, 2019
in
Service Discovery
by
sharadyadav1986
How do you override a Spring Boot Project’s Default Properties?
#spring-boot-project
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Dec 20, 2019
by
rajeshsharma
Specify the properties in application.properties.
Spring MVC applications need the suffix and the prefix to be specified. This can be done by:
For suffix – spring.mvc.view.suffix: .jsp
For prefix – spring.mvc.view.prefix: /WEB-INF/
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
+1
vote
Q: How do you implement a Spring Security in a Spring Boot Application?
asked
Dec 20, 2019
in
Service Discovery
by
sharadyadav1986
#spring-security
+1
vote
Q: How will you Configure Spring Boot Application Login?
asked
Dec 20, 2019
in
Service Discovery
by
sharadyadav1986
#spring-boot-application
0
votes
Q: What is the Spring Boot?
asked
Dec 20, 2019
in
Service Discovery
by
sharadyadav1986
#spring-boot
0
votes
Q: The default Java compiler level for a Spring boot app is __________
asked
Mar 21, 2022
in
Spring Framework Database Integration
by
sharadyadav1986
spring-boot-app
0
votes
Q: Can the default web server in the Spring Boot application be disabled?
asked
Apr 4, 2021
in
Spring
by
Robindeniel
spring-boot
boot-application
spring-configuration-file
configuration-file
spring
spring-questions
spring-java-framework
spring-interview-questions
spring-advanced-questions-2021
spring-questions-and-answers
spring-framework
0
votes
Q: Can we change the default port of the embedded Tomcat server in Spring boot?
asked
Apr 4, 2021
in
Spring
by
Robindeniel
#port
spring-port
spring-boot
spring-configuration-file
configuration-file
spring
spring-questions
spring-java-framework
spring-interview-questions
spring-advanced-questions-2021
spring-questions-and-answers
spring-framework
0
votes
Q: What do you understand by the term 'Spring Boot'?
asked
Apr 4, 2021
in
Spring
by
Robindeniel
#spring-boot
spring-configuration-file
configuration-file
spring
spring-questions
spring-java-framework
spring-interview-questions
spring-advanced-questions-2021
spring-questions-and-answers
spring-framework
0
votes
Q: How do we manage and monitor Spring boot application in production using Prometheus?
asked
Oct 3, 2022
in
Prometheus Percipio
by
rajeshsharma
prometheus
spring-boot
0
votes
Q: There are default rules for outbound and inbound traffic, which are predefined. You cannot delete these predefined rules, but how can you override them?
asked
Sep 27, 2021
in
Azure Essentials
by
Robin
azure-traffic
traffic-rules
0
votes
Q: How will you balance the server-side load by utilizing Spring Cloud?
asked
Dec 20, 2019
in
Service Discovery
by
sharadyadav1986
#server-balance
...