spring validator without using properties file for show error messages

Viewed 1474

I want configuration for show error messages on jsp using spring validator,but without using this configuration for message.properties.

<bean id="messageSource"
    class="org.springframework.context.support.ResourceBundleMessageSource">
    <property name="basenames">
        <list>
            <value>message</value>
        </list>
    </property>
</bean>
2 Answers
Related