# 填充 Web 模块

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/idea/llms.txt).

在 您 [启用 Web 开发支持](enabling-web-application-support.html) 之后，IntelliJ IDEA 将按以下方式设置基本模块结构：

* 创建一个 `web` 文件夹，并包含 `index.jsp` 样本文件。 默认情况下， `web` 文件夹将在部署后成为您的应用程序的根目录， `index.jsp` 文件将是其主页。

* 创建一个 `WEB-INF` 子文件夹，包含配置了 `操作` servlet 的 `web.xml` 描述符。

* 如果您在创建项目时进行了相应的指定，将会创建一个 `src` 文件夹。

Procedure: 填充 Web 模块

* 在  `src`  文件夹下创建实现应用程序功能的 Java 类文件。

* [配置静态 Web 内容资源](web-application-static-content.html)来表示用户界面。

* [配置应用程序元素](creating-and-configuring-web-application-elements.html)。

* [指定装配描述符引用](specifying-assembly-descriptor-references.html)。

## See also

### 过程

[构件](working-with-artifacts.html)

### 参考

[工件参考](artifacts.html)

