我正在学习servlet和JSP的概念。当我在项目中创建web.xml文件时,输出如下。
在随后的课程中,它看起来像这样。
请告诉我,两者之间有什么区别,以及如何编辑由我创建的web.xml文件来定义servlet。
单击Source标签。您会以所需的格式找到web.xml文件。
Source