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.
我是动态 Web 项目的新手。我在 e-Clipse 中创建了一个新的动态 web 项目。但是当我检查它的结构时,WEB-INF / lib 文件夹中没有 web.xml。我可以复制粘贴。这是真的,但我想知道我应该配置什么以在开始时自动生成它?
web.xml 的正确位置是 WEB-INF 文件夹,而不是 WEB-INF/lib。所以你不应该在那里复制它。在 Eclipse 中,您可以在“已部署资源”->WEB-INF 中找到 web.xml。