CGS4854 Tutorial 2

Due Friday, 2/4.

If you did not do Tutorial 1, then create a web application named Tutorials in NetBeans.

If you did Tutorial 1, then add this tutorial to the same Tutorials project from Tutorial 1. Tutorial 1 should remain intact in the web application.

Implement the JSP Controller in the Tutorials web application. It must work exactly like the example from the book. Step-by-step instructions.

The JSPs must be in a subfolder named ch2/jspController under Web Pages in the Netbeans project.

Be sure that the index.jsp uses the strict DOCTYPE. Add a hypertext link in index.jsp to the JSP controller. Use a relative reference.

Clean and Build your web application.

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

In the index.jsp file in the ROOT web app on ocelot, add a hypertext link to the Tutorials web app. Use a relative reference.

Upload the WAR file to me: Submitting homework on-line via the Web.