配置 Web 应用程序

您可以通过部署描述符或注释来配置 Web 应用程序。

关于此任务

Web 2.2、2.3、2.4 或 2.5 Web 项目在项目 WEB-INF 目录中含有 web.xml 文件。配置 web.xml 文件以指定 Web 开发环境中模块的部署信息。

Web 3.0 和更高版本 Web 项目不需要 web.xml 文件。 您可以配置注释以指定部署信息。(可选)如果 Web 3.0 Web 项目需要 Web 部署描述符,那么您可以生成部署描述符存根。

过程

Icon that indicates the type of topic Task topic
Timestamp icon Last updated: last_date

File name: tconfigwebapp.html