Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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