Question: 1 . Create a new Project called LAB _ 0 4 File New Dynamic Web Project. Enter LAB _ 0 4 as the project name
Create a new Project called LAB
File New Dynamic Web Project. Enter LAB as the project name
Create a new HTML file in the WebContent Folder of your project LAB
Rightclick on WebContentNewHTML File Enter tast as the name of thefileSelect
the HTML template to use use html Click Finish
Modify the HTML to display a form similar to the one shown Figure
Ensure that the method used in the form is GET and specify the action as LABtask
Create a new package called htmlForms
Copy and paste any of your previous servlets to htmlForms package
Rename the copied servlet to LABtask
Rightclick on the copied servlet file Refactor Rename Enter new name Click on
Finish
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 if the form is filled or Figure if the form is not
filled.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
