Project IV for Web Management Class

Copy your HTML file produced for Project III to a Java Server Page (jsp) file in your Tomcat ROOT directory. Upgrade and modify the jsp file further with embedded Java program to handle the three possible types of entry to your Server Page.

  • Type 1 entry from the Java Server Page Form when the Submit button is pressed on the logon form.
    In this case your page should output a new page of HTML that displays the logon information that you read from the form.
  • Type 2 entry from the Java Server Page Form when the Register button is pressed on the logon form.
    In this case your page should output a new page of HTML that includes a second form that requests registration information.
  • Type 3 entry via a direct quotation of the URL.
    In this case your page should output the Information page and the form indicated above.

    For the present you must do the following:
    • Distinguish the three types of entry to your JSP page by investigating whether the Submit button or the Register button of the form has been pressed.
    • Include the HTML/Java program of your response to a Type 1 or Type 2 entry in the same jsp file as the remainder of your program. Do not use a distinct JSP page.
    • Ensure that all your HTML output uses the colors and emphasis that you selected for Project 2.
    • Use both output techniques out.println and <%= to generate the dynamic part of your response to a Type 1 & 2 entry.
    • Ensure that the Registration form displayed as a response to a Type 2 entry has fields for the users first and last names, their e-mail name (to be uses as their logon identifier), a proposed password and a copy of that password for verification purposes.

    For the present you need not provide program to handle a return from the Registration form.
    Your project should be run on ocelot.aul.fiu.edu.
    The project should be completed by September 22nd, 2009. You should submit a hard copy listing of your HTML/Java program.

    You will not be able to run your Java Server Page until you have
    1. Created the infrastructure required by the Tomcat server.
    2. Validated the structure using Professor Downey's program.
    3. Obtained a number from Professor Downey indicating the name of your TOMCAT server.
    Read how to do this at http://ocelot.aul.fiu.edu/~barton/Infrastructure.htm