Creating Your Own Spring Custom MessageSource
If you don’t want to specify your error messages in an XML file or just not in the key value format specified you can implement your own. Just make your class implement the MessageSource interface and specify your class in the contextConfigLocation xml files as such
Read More »