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

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.

Heis Are pma3 rajer Se CNa De you lve a Suva teCN

Heis Are pma3 rajer Se CNa De you lve a Suva teCN Do jon ein Svema YeONo)

Step by Step Solution

3.44 Rating (173 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Yes No This JSP reads all the questions from the poll table sorts them in alpha... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction to Java Programming and Data Structure Questions!