Hi, I am trying to use spring validator with multiaction controller.
The configuration is as below-
</value> </property> </bean> </property> <property name="delegate"> <ref bean="configurationManagementDelegate" /> </property> <property name="validators" > <ref bean="configurationManagementValidator"/> </property>
<bean id="configurationManagementDelegate" class="in.gov.uidai.web.portal.delegate.ConfigurationManagementDelegate"> </bean> <!-- Validator class for ConfigurationManagementController --> <bean id="configurationManagementValidator" class="in.gov.uidai.web.portal.spi.validation.impl.ConfigurationManagementValidator">
And the controller has method called update(..., BindException error)
----it shows error saying BindException class can't be instantiated - .
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.validation.BindingResult]: Specified class is an interface
Please visit the following link:
thanks, but that does not splve my problem. I want to know how to use validator with multiaction controller.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.