If you did not do Tutorial 1, then create a web application named book in NetBeans.
If you did Tutorial 1, then add this tutorial to the same book project from Tutorial 1. Tutorial 1 should remain intact in the web application.
Review the web page that contains instructions on creating a servlet in a NetBeans project: Creating a Project in NetBeans
Implement the servlet controller in the book web application. It must work exactly like the example from the book.
Be sure that the index.jsp uses the strict DOCTYPE. Add a hypertext link in index.jsp to the controller.
Be sure that your NetBeans project is configured so that .java files are added to the WAR file: Adding .java files to a WAR file
Clean and Build your web application. After doing this, navigate to the WAR file in NetBeans and verify that the .java files are included: View WAR File
In the operating system (not in NetBeans) navigate to the dist folder in the NetBeans project.
Deploy the WAR file on ocelot: Deploy a WAR File
Upload the WAR file to me: Submitting homework on-line via the Web.