I would like to use direct field access for "command objects" in Spring MVC 3.
Is there an equivalent of useDirectFieldAccess() method for annotated controllers?
I wasn't able to find anything in the documentation.
You can use the @InitBinder annotation on a controller method, and then initDirectFieldAccess on the recived WebDataBinder, documentation is here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With