How to define the order in which I want to see the out.print of a servlet?


A cordial greeting, I will put you in the context of my question: I have a web form in a jsp, in which I have 2 radiobuttons, when selecting the first one, 2 div appears, and with the second radio an input text appears. When I send them to the servlet, I want to show the data through the form provided by the servlet (which is made out.println), but I do not understand how to print only the data corresponding to the selected radio (Yes I choose the first option that does not show the blank option of the second radio, and vicebersa). I hope I have been clear enough so that it is understood. Thanks for your time.

asked by Xefiron 03.12.2018 в 22:11

0 answers