Eviter d'utiliser une barre oblique dans un nom de fichier de bienvenue de module Web

Cette règle marque tout module Web <welcome-file> qui commence par une barre oblique (/) ou une barre oblique inverse (\) dans le fichier web.xml .

Le correctif automatisé supprimera le / ou le \ du nom.

Par exemple, dans la liste de fichier de bienvenue suivante :
< span class="Code"> < bienvenue-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>

Le correctif automatisé mettra à jour quatre entrées du code :
< span class="Code"> < bienvenue-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>