Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Validation for MultiActionController

 
Ankita Jha
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ranchers,

I m trying to implement spring validator for MultiActionController,
Can any one provide me a sample code for doing the same.
For SimpleFormController it works well..
Neeed to try out the same for MultiActionController

Thanks in Advance,
Ankita
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This could be a good resource to start. Refer point 13.3.3
 
Stan Sokolov
Ranch Hand
Posts: 120
Hibernate IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankita Jha wrote:Hello ranchers,

I m trying to implement spring validator for MultiActionController,
Can any one provide me a sample code for doing the same.
For SimpleFormController it works well..
Neeed to try out the same for MultiActionController

Thanks in Advance,
Ankita


After reading millions of forums... ok well dozens to be correct. I am inclining to assumption that it is not possible. Everywhere is published some nonsense that hiding the fact that individual methods could not be bound to a validator. It makes MultiActionController effectively useless. I wish Spring Developers tell about that thing upfront to not waste time on it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic