This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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

Win a copy of The Software Craftsman this week in the Agile forum!
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