Last active
May 29, 2016 14:09
-
-
Save marsyang1/700a94bf60e8b3d67600d7bb7ccb5f31 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #http://stackoverflow.com/questions/15337409/updating-property-value-in-properties-file-without-deleting-other-values | |
| FileInputStream in = new FileInputStream("First.properties"); | |
| Properties props = new Properties(); | |
| props.load(in); | |
| in.close(); | |
| FileOutputStream out = new FileOutputStream("First.properties"); | |
| props.setProperty("country", "america"); | |
| props.store(out, null); | |
| out.close(); | |
| #https://mariuszprzydatek.com/2013/07/29/spring-localized-exception-handling-in-rest-api/ | |
| #http://www.concretepage.com/spring-4/spring-4-mvc-internationalization-i18n-and-localization-l10n-annotation-example#configuration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment