Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在学习 servlet 和 JSP 的概念。当我在项目中创建 web.xml 文件时,我的输出如下。
而在接下来的课程中,它看起来像这样。
请让我知道,它们之间有什么区别以及如何编辑我创建的 web.xml 文件来定义 servlet。
单击Source选项卡。您将找到所需格式的 web.xml 文件。
Source