I am making a calculator using JSP that sends a request to a servlet that calculate some values, this calculator contains a series of values that users has to enter. These values are entered using checkboxes, text fields, selects, and radio buttons. My problem is that if a checkbox or radio button is not selected, the servlet do not make a response.
Some of the fields do not require that the person check a checkbox, he/she can left some in blank.

Could someone give me some code to make the servlet respond even when the checkboxes are not checked??