部署描述符或web.xml

huangapple go评论58阅读模式
英文:

Deployment discriptor or web.xml

问题

以下是翻译好的部分:

我正在学习Servlet和JSP的概念。当我在项目中创建了一个web.xml文件时,我的输出如下所示。

部署描述符或web.xml

然而,在我所学习的课程中,它看起来是这样的。

部署描述符或web.xml

请告诉我,它们之间的区别是什么,以及如何编辑我创建的web.xml文件以定义Servlet。

英文:

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

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

部署描述符或web.xml

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

得分: 1

点击Source选项卡。您会在所需格式中找到web.xml文件。

部署描述符或web.xml

英文:

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

部署描述符或web.xml

huangapple
  • 本文由 发表于 2020年9月1日 19:16:39
  • 转载请务必保留本文链接:https://go.coder-hub.com/63686583.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定