この規則は、任意の Web モジュールにフラグを立てます。
<welcome-file>
これは、 web.xml ファイル内のスラッシュ文字 (/) または円記号 (¥) で始まります。
ソース・スキャナーで、この規則のクイック・フィックスが使用可能です。クイック・フィックスは、名前から / または \ を除去します。
以下のウェルカム・ファイル・リストがあるとします。
< span class="Code"> < ようこそ-file-list>
<welcome-file>/index.html</welcome-file>
<welcome-file>\index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>/default.html</welcome-file>
<welcome-file>\default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
クイック・フィックスは、コードの 4 つのエントリーを以下のように更新します。
< span class="Code"> < ようこそ-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>