Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Spring and the fly likes Database validation in Simpleformcontroller Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Database validation in Simpleformcontroller" Watch "Database validation in Simpleformcontroller" New topic

Database validation in Simpleformcontroller

Mark Reyes
Ranch Hand

Joined: Jul 09, 2007
Posts: 426
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?

Sean Clark ---> I love this place!!!
Me ------> I definitely love this place!!!
I agree. Here's the link:
subject: Database validation in Simpleformcontroller
jQuery in Action, 3rd edition