I have 2 JSP pages linked together. One of them is a form which has multiple checkboxes, you click on the check box, the value is sent to Proto1.jsp where the values aren converted intro strings and it initiates SQL commands. However if no checkbox is selected and the form is submitted, the Proto1 jsp page gives me a null pointer exception. Is there anyway if none of the checkboxes are selected I can redirect the user back to the Checkbox page ?
Aucun commentaire:
Enregistrer un commentaire