You are at a restaurant eating lunch with a friend. After the meal, your friend realizes they left their wallet at home. Your friend gives you a piece of silver….
Create a deployment descriptor (file web.xml) within your WEB-INF folder and enter and tags for servlet PersonalServlet.
(i) Following the procedure outlined in Section 8.3, set up the folder structure
for a Web application with a name of your own choosing.
(ii) Create a deployment descriptor (file web.xml) within your WEB-INF folder
and enter and tags for servlet PersonalServlet.
(iii) Copy PersonalServlet.java from section 8.7 into the classes folder of your
Web application and copy PersonalServlet.html from the same section into your
Web application's root folder (the one just below webapps in the Tomcat
hierarchy). Compile PersonalServlet.java.
(iv) Open a command window and start Tomcat running with the startup
command (or double-click on file startup.bat in ÇATALINA_HOME\bin).
(v) Start up a Web browser and enter the following address:
(vi) Enter your name and click on 'Submit'.