The Poll table in Exercise 37.13 contains only one question. Suppose you have a Poll table that

Question:

The Poll table in Exercise 37.13 contains only one question. Suppose you have a Poll table that contains multiple questions. Write a JSP that reads all the questions from the table and display them in a form, as shown in Figure 38.13a. When the user clicks the Submit button, another JSP page is invoked. This page updates the Yes or No counts for each question and displays the current Yes and No counts for each question in the Poll table, as shown in Figure 38.13b. Note that the table may contain many questions. The questions in the figure are just examples. Sort the questions in alphabetical order.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: