<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
registerForm.passwordNotMatch=Password does not match.
binding.addError(new FieldError(REGISTER_FORM, "passwordNotMatch", messageSource.getMessage("registerForm.passwordNotMatch", null, locale)));
does it work if you change to:
I had the experience that if using
ReloadableResourceBundleMessageSource, in jsp will not find the properties file. adding
classpath: before the
basename solved my problem.
Well even though was my project managed by maven, I think you can give it a try anyway.