I was learning concept of servlet and JSP. When I created a web.xml file in my project, my output is as follows.
whereas, in the course am following it appears like this.
Please let me know, what's the difference between both of them and how to edit the web.xml file created by me to define servlet.
Click on the
Source
tab. You will find the web.xml file in your desired format.