specifying dirname in the properties file should substitute the value here
Yes, it is. In the properties you configure e.g.: dirName=C:\Windows
but should I configure the name of the properties file through the PropertiesPlaceConfigurer
Not sure what do you mean, but I configure my placeholder like this:
HTML Code:
<util:properties id="mailProperties" location="classpath:/mail.properties"/>
<context:property-placeholder properties-ref="mailProperties" location="classpath*:**/mail-password.properties"/>