Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ravikumarmahalingam/SampleSpringBootApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

SampleSpringBootApplication

Accessing application.properties file in spring boot

@Autowired
Environment env --> This can be used to fetch the values in the application.properties file and then the same can be used in the application. 

@Value is another annotation that can be used to fetch the value from the application.properties file and inject the same to the instance variable. 

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages