Deployment discriptor or web.xml

47 views Asked by At

I was learning concept of servlet and JSP. When I created a web.xml file in my project, my output is as follows. web.xml-created by me

whereas, in the course am following it appears like this.

web.xml - as per online tutorial

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.

1

There are 1 answers

0
Som On

Click on the Source tab. You will find the web.xml file in your desired format.

Web.xml