vendredi 16 octobre 2020

request.getParameter checkbox fileupload

In a registration form I am using file upload to upload a photo to the database. The problem comes to me with 5 checkboxes that I have in the form, if there is one that does not select the program and I don't know how to solve it.

Previously with a simple request.getParameter I got it but now when using fileupload it is different and I can't get that if I don't select it, I leave it in null.

String checkbox1=items.get(4).getName();



Aucun commentaire:

Enregistrer un commentaire