This rule flags any web module
<welcome-file>
that
starts with a forward slash character (/) or a back slash character (\)
in the web.xml file.
The automated fix will remove the / or the \ from the name.
Given the following welcome file list:
<welcome-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>
The automated fix will update four entries of the code to:
<welcome-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>