Why is Spring 3.2 only mapping my Boolean based on that the requestparam is "0" or "1" ?
@RequestParam(required= false, defaultValue = "false") Boolean preview
Preview will only be "true"
when the requestparam is "?preview=1"
which is wierd
I want it to be "?preview=true"
. How do I do that?
preview
will not even be a part of the URL. – Backbone