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

Database validation in Simpleformcontroller

 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

For simple checking if a command bean is empty/whitespace, I can used the validator for these and add error on the bindexception object but with db validation logic
you should let your controller do it.

What about if I perform some database validation logic on the simpleformcontroller:


Will this still be valid?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic