In the below jsp file the user chooses between 3 options: A, B, C. When the menu is evaluated the output is fine, but the menu reset to the initial state. For instance: If I choose B, and evaluate the ouput is B (it is OK), but the input menu resest to A, how could I get that it stays in my last election (B)?
So a slightly reorganized version of your code with some less loose interpretations of valid HTML(JavaScript Reserved Words). So a jsp page called “Test2.jsp”
The above is a rudimentary example, no handling of null (nil) case. If your case is more complicated, you may want to make your own function that streams out and HTML Select.