JSP Q and A

100 points

JSP Q and A

Requirements

Comments placed in the source code file5
Questions can be viewed45
Answers can be viewed per question45
User, Questions, and Answers are stored in a DataBase5
Total100 pts

Resources

Objective

To practice using JSP's and Servlets

Instructions

For this lab you will need to create a small, simple website that allows a person to view questions and answers from your database. Your previous lab can be used to populate the database with questions and answers, this lab only needs to allow viewing.

Using any combination of JSP pages and Servlets, the application should begin by showing a page listing all of the questions in the database, who asked the question, the questions popularity, and the number of answers for each question. The question itself should be a hyperlink that when clicked will take the user to a view showing that question and it's details as well as the answers to that question and the answers details, the answerer, and the popularity. The page that shows the answers should have a link that when clicked returns the user back to the questions view page.

When turning in this lab, if netbeans is used, the entire project folder should be zipped. If netbeans is not used you will need to place any JSP pages and servlets you create (source and class files), as well as the web.xml file in a zip file to turn in.