Advanced Java
3 credits
Single JSP page created | 10 |
JSP page contains required content | 20 |
Page displays hello [name] whenever a name is entered | 50 |
Page does not display blanks in place of names | 10 |
Page executes without errors | 10 |
Total | 100 pts |
To create a simple webpage using JSP
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.