CGS4854 Homework 4

Due Friday 4/19 (late 4/20 at 6am)

If you had any errors in the previous homework, then fix them, so that you don't lose points twice for the same mistake.

Apache

Start your Apache server.

Complex Persistent Controller

Create a new package for this assignment in your username web app. Step-by-step instructions for the Complex Persistent Controller are available on the book's web site.

  • Bean
  • Controller Helper
  • JSPs
  • Be sure there is a hypertext link in the index.jsp page to the controller. Use a relative link.
  • The web app must use the secure web.xml file and should only allow you and me to access your application: Edit tomcat users
  • Be sure to modify the project so that the .java files are placed in the WAR file: Configuring WAR File
  • After the app is running in NetBeans, upload it and run it on ocelot: Uploading a WAR file
  • Submitting the Assignment

    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

    To hand in the assignment, zip the following directories into one ZIP file 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.