Newsletter

Spring Boot – Common Application Properties (application.properties)

Spring-Boot-Tutorials » on Sep 3, 2017 { 3 Comments } By Sivateja

In this article I am going to explain about Spring Boot’s application.properties.  Generally we will create property files for writing static values related to our application. If you consider some real time java applications, we will use these .property files for writing  environmental (server) related stuff and for even for some other reasons, I strongly believe you might aware of the general usage of .property files in the java applications 🙂

By default, Spring Boot provides a .properties file with name application.properties with some predefined key’s in it. I see more than 100 keys in the spring docs,  you can have a look at here..

Spring Docs ::.  Common application properties

In the next article, I will show you how to use Spring Boot application.properties in our application with example 😉

​​

You Might Also Like

  ::. About the Author .::

Java4s_Author
Sivateja Kandula - Java/J2EE Full Stack Developer
Founder of Java4s - Get It Yourself, A popular Java/J2EE Programming Blog, Love Java and UI frameworks.
You can sign-up for the Email Newsletter for your daily dose of Java tutorials.

Comments

3 Responses to “Spring Boot – Common Application Properties (application.properties)”
  1. abc says:

    Nice tutorial Sir !!!!!!!!

  2. Saina Nehwal says:

    Thank you Siva 🙂

  3. sashi says:

    not able to load property file under WEB-INF

Name*
Mail*
Website



By posting your answer, you agree to our comments policy.
Most Recent Posts from Top Categories
Spring Boot Hibernate Spring
Contact | About Us | Privacy Policy | Advertise With Us

© 2010 - 2024 Java4s - Get It Yourself.
The content is copyrighted to Sivateja Kandula and may not be reproduced on other websites.