JSP Hello User

100 points

JSP Hello User

Requirements

Single JSP page created10
JSP page contains required content20
Page displays hello [name] whenever a name is entered50
Page does not display blanks in place of names10
Page executes without errors10
Total100 pts

Resources

Objective

To create a simple webpage using JSP

Instructions

For this lab you will need to create a single JSP page that contains the words "Hello, World!" as a level one header and a form containing a text field and a submit button.

When the user first visits the page the words should be "Hello, World!" and the text field should be empty. If the user types something like a name into the textfield and clicks the submit button the page should reload and instead of saying "Hello, World!" it should change to say Hello to whatever name they entered.

An example would be that the user sees Hello, World! on the page, enters their name Victrola in the textfield and presses the submit button. When the page reloads it should then say "Hello, Victrola!" and the user could then enter a different name if they choose.