Posts Tagged ‘property-file’

Loading Java Properties Files

Loading Java Properties Files
Java Properties files are amazing resources to add information in Java. Generally these files are used to store static information in key and value pair. Things that you do not want to hard code in your Java code goes into properties files. Although there are multiple ways of loading properties file, I will be focusing on loading the resource bundle files from class path resources. ... Full story

Apostrophe creating problem in properties file in java/struts

I encountered this problem with message resource property files in Struts. The problem is: I have an entry in property file where in it takes few arguements {0}, {1} etc. some.property.key = Hello {0}, Following is your account's detail. \ Please note that your registration no. {1} \ is going to expire on {2}, kindly login into your \ account {3} and update it. Now when I put the value for the ... Full story
Copyright © 2010 ViralPatel.net. All rights reserved.