Starting from:

$29.99

Project 2: Using the hello2 servlet

Project 2
Using the hello2 servlet tutorial as an example, modify the code to provide a form that collects the first name, last name, email address and date of birth of a user. This tutorial is found in your glassfish installation [glassfish_home]\docs\javaee-tutorial\examples\web\servlet\. The [glassfish_home] is the folder where you installed glassfish following the JavaEE7 Environment Setup document found in the Week1 content.
For the response, display all of the information provided by the user that was entered into the collection form.
Format the output data as follows:
Thanks for completing our Customer Survey form on [today’s date and time]! The data you entered was:
First name: [firstname] Last name: [lastname] Email address: [email address] Birth date: [birthdate]
Note that you should use the current date and time as part of the output. So each time you run the application you will receive slightly different results.
You should use the Java API to look-up and determine how to extract the current date and time. An example output format for the date and time is: November 21, 2016 @12:15:30 PM. You can create your own unique format to display the date and time.
Submission requirements Deliverables include all hello2 project files and a single word (or PDF) document. You should zip the hello2 project directory in its entirety for submission. The word (or PDF) document should clearly describe the changes you made to the hello2 project, include screen captures showing the successful compiling and running of your new hello2 project, a title page with your name and project number, IDE name and version, operating system , and instructions how to set up and run your hello2 project.
Each screen capture should be properly labeled, clearly indicating what the screen capture represents.
Submit your files to the Project 2 assignment area no later than the due date listed in your LEO classroom. You should include your name and P2 in your word (or PDF) file submitted (e.g. firstnamelastnameP2.docx or firstnamelastnameP2.pdf)
2
Grading Rubric:
The following grading rubric will be used to determine your grade:
Attribute Meets Does not meet Modifies code 30 points
Modifies the code to provide a form that collects the first name, last name, email address and date of birth of a user.
0 points
Does not modify the code to provide a form that collects the first name, last name, email address and date of birth of a user.
Formats the output data 30 points
Formats the output data as described in the requirements.
0 points
Does not format the output data as described in the requirements.
Includes date and time output 10 points
Uses the current date and time as part of the output.
0 points
Does not use the current date and time as part of the output.
Documentation and project submission
30 points
Describes all of the changes made to the hello2 project.
Provides screen capture demonstrating the successful compilation and running on your platform.
Deliverables include all hello2 project files and a single word (or PDF) document.
Each screen capture is properly labeled, clearly indicating what the screen capture represents.
Word document or pdf includes title page with your name and project number, IDE name and version, operating system, and instructions how to set up and run your project.
0 points
Does not describe all of the changes made to the hello2 project.
Does not provide screen capture demonstrating the successful compilation and running on your platform.
Does not include all hello2 project files and a single word (or PDF) document as deliverables.
Each screen capture is not properly labeled, or clearly indicating what the screen capture represents.
Word document or pdf does not include title page with your name and project number, IDE name and version, operating system, and instructions how to set up and run your project.

More products