
Originally Posted by
senoctar
If you want to use this way of specifying dates then spring binding can't help you. It can only do one-to-one fileld/parameter binding.
Either place three integer fields in your command (year, month, day) and bind to those. You can construct the date later when setting it to the business object.
If you need to bind directly to your business object (or for some reason you really need Date in your command), then override "onBind" method of your controller and manually convert the request parameters to Date.