Problem Statement:

Create a HTML page which accepts book id, book name and book price and a submit button. When the user clicks the submit button, all the values assigned to the previous text fields must be stored in a session object and the control forwards to another servlet where the values stored in the session are retrieved and displayed.

Source Code:

books.html

StoreSessionServlet.java

DisplaySessionServlet.java

web.xml