I have a simple check box defined in a
JSP like this:
In the controller, I have a @ReqestParam defined like this:
Yet, when I submit the form, if the checkbox was unchecked, I get the error: "The request sent by the client was syntactically incorrect ()."
If the checkbox is checked, then it works.
I've tried changing the type to boolean as the type in the Controller, but get the same behavior.
So, how do you handle a checkbox correctly so that you can determine, when submitted to the Controller that it was *not* checked?
(the controller never seems to run if the checkbox was not checked)
Thanks in advance.
--mike