Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Spring How to use spring validator with multiaction controller?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Ekanath
How to use spring validator with multiaction controller?
2 Answer(s)      3 years and 3 months ago
Posted in : Spring


Hi, I am trying to use spring validator with multiaction controller.

The configuration is as below- /**/configurationList.do=list /**/configurationUpdate.do=update /**/configurationSave.do=commit

            </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


Advertisement
View Answers

August 24, 2011 at 5:43 PM


Please visit the following link:

Spring Multiaction Controller



August 24, 2011 at 5:50 PM


thanks, but that does not splve my problem. I want to know how to use validator with multiaction controller.



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com