Does anyone know how to use Java Servlet and XHTML to do the

Create a Web application for dynamic FAQs. The application should
obtain the information to create the dynamic FAQ Web page from a
database that consists of a Topics table and an FAQ table. The Topics
table should have two fields—a unique integer ID for each topic
(topicID) and a name for each topic (topicName). The FAQ table should
have three fields—the topicID (a foreign key), a string representing
the question (question) and the answer to the question (answer). When
the servlet is invoked, it should read the data from the database and
return a dynamically created Web page containing each question and
answer, sorted by topic.