Question: 1 . Create a new Project called LAB _ 0 4 File New Dynamic Web Project. Enter LAB _ 0 4 as the project name

1. Create a new Project called LAB_04
File New Dynamic Web Project. Enter LAB_04 as the project name
2. Create a new HTML file in the WebContent Folder of your project (LAB_04).
Right-click on WebContentNewHTML File Enter tast_1 as the name of thefileSelect
the HTML template to use (use html5) Click Finish
3. Modify the HTML to display a form similar to the one shown Figure 1.
4. Ensure that the method used in the form is GET and specify the action as LAB_04_task1
5. Create a new package called htmlForms
6. Copy and paste any of your previous servlets to htmlForms package
7. Rename the copied servlet to LAB_04_task1
Right-click on the copied servlet file Refactor Rename Enter new name Click on
Finish
8. Modify the servlet to read the entered data on your html form and display the data on the
screen similar to what is shown in Figure 2 if the form is filled or Figure 3 if the form is not
filled.
 1. Create a new Project called LAB_04 File New Dynamic Web

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!