CGS4854 Extra Credit 2

Due Friday 2/22 (late after 2/23 at 6 am)

Use the same web application that you used for the previous extra credit. If you did not do the previous extra credit, then create a web application named Tutorials in NetBeans. Review the web page that contains instructions on creating a servlet in a NetBeans project: Creating a Project in NetBeans

All previous tutorials should still be able to be accessed and run from the index page of the web application.

Implement the Reorganised Controller in the Tutorials web application. It must work exactly like the example from the book. More detailed instuctions can be found on the book's web site.

Java Files

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

Deploy to ocelot

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

ROOT Web Application on ocelot

Be sure you have the following links in the ROOT/index.jsp file on ocelot.

Hand In Assignment

To hand in the assignment, zip the cgs4854 directory on ocelot and upload it.

Be sure that all your files and subdirectories are included in the zip file.
After uploading, do not modify your files on ocelot until after your assignment has been graded.