Question: Complete ListAllBooks Controller class that handles HTTP request to display the list of orders. public class ListAllBooksController extends HttpServlet { private static final long
Complete ListAllBooks Controller class that handles HTTP request to display the list of orders. public class ListAllBooksController extends HttpServlet { private static final long serialVersionUID = 1L; } private BookDAO dao; public ListAllBooksController() { super(); dao = new BookDAO(); (3 marks) protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { //set the attribute to the servlet request and forward the request from the servlet to listBook.jsp (3 marks) Complete the code segment of listBook.jsp to display the list of orders. List of Books Book Title Author Price (per book) (4 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
