PropertyPlaceholder Configuration

PropertyPlaceholder Configuration

The following example demonstrate spring propertyplaceholder. With this configuration, spring allow you to externalize the value into properties files.

Configuration metadata: XML-, Annotation-based, Java-based

For multiple properties file seperate by comma, Eg “classpath:a.properties, b.properties”

Complete Example

Write a Reply or Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.