Good day to all, help figure out, there is an html form with the bootstrap framework connected that displays data from the database, I need to place a checkbox and if it is clicked to perform another query to the database, Tomcat server, java development environment itself. I posted the checkbox myself:

<label><input type="checkbox" value="" name ="checkb">Test</label> 

and how now to catch it pressing by a servlet I do not understand, explain please. thank

  • one
    Look at the example w3schools.com/tags/tryit.asp?filename=tryhtml_input_checked if the checkbox is selected, it is passed in the form parameters. - Sergey Mitrofanov
  • @SergeyMitrofanov Now I understand in the servlet we catch our value in value, if the name returned, value means the checkbox is clicked. Thanks for the tip - Ethernets
  • @SergeyMitrofanov Can I also change the table headings? or so easy to fail ?? - Ethernets
  • Can. But this is not explained in two words. Try to start learning from this topic at stackoverflow.com/questions/4243554/… - Sergey Mitrofanov

0