CGS4854 Assignment for Chapter 3

Due Friday, 10/12 (late 6am, 10/13)

You are to create a service oriented web site. You will be adding features throughout the semester. The type of service that you provide is your choice. For example, the site that was developed in the book kept track of a user's hobby and aversion. Try to be creative in picking your site. There are already enough book sellers on the web and one site that keeps track of hobbies is enough. Choose a service that interests you.

Apache

Apache server.

Create a Web Application using NetBeans

  1. Create a new web application in NetBeans, named your-username (replace your-username with your user name).
    1. If there is not a web.xml file in the WEB-INF folder, then select New File -> Web -> Standard Deployment Descriptor (web.xml) from the NetBeans menu.
    2. Use the secure web.xml file.
    3. Restrict access to this web site to you and me (this is controlled by the secure web.xml file)
    4. Edit the tomcat users file so that you can access your app in your local NetBeans.
    5. Modify the index.jsp that is in the root of the web app. Be sure it uses the HTML 5 DOCTYPE and Meta tags.
      1. Add a paragraph of at least four sentences that describes the service that you are providing.
      2. Validate the JSP at http://www.w3c.org.
      3. Use the stylesheet. The stylesheet only needs to work when the page is accessed from Apache.

Reorganised Controller

ROOT Web Application

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

Hand In Assignment

To hand in the assignment, zip the cgs4854 directory 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.