-
Mar 4th, 2013, 10:04 AM
#1
Validate a request before binding it to an object
Hi everyone.
Pretty simple question here, I was just wondering if there's any way to configure my controllers so that Spring will run validation before it binds the request to an object? I want to validate against the JSON I receive rather than against the Object, but I can't find any support for this so far.
The only suggestion I've seen is from this empty thread, which suggests over-riding some methods to get the desired behaviour, but I'd much prefer to be able to configure this in my controller implementation or my XML configuration.
Any ideas?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules