CGS4854 Tutorial 1

Due Friday 5/20.

Create a web application named Tutorials in NetBeans. Make the first letter uppercase and all the remaining letters lower case for the name of the web application.

An index.jsp will be created for you automatically, when you create the project.

Review the web page that contains instructions on creating a servlet in a NetBeans project: Creating a Project in NetBeans. This just shows how to create a project and servlet. It does not show how to create the exact web application for this assignment.

Implement the servlet controller in the Tutorials web application. It must work exactly like the example from the book. You may access step-by-step instructions from the book's website: Book Tutorials.

Be sure that all of the JSPs use the strict DOCTYPE. You may use the new, simpler DOCTYPE from HTML5.

Add a hypertext link in index.jsp to the servlet controller. Use a relative reference.

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.

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