Diese Regel markiert jede <welcome-file> eines Webmoduls, die mit einem Schrägstrich (/) oder Backslash (\) beginnt, in der Datei web.xml.
Es ist eine Schnellkorrektur für diese Regel im Quellenscanner verfügbar. Die Schnellkorrektur entfernt den Schrägstrich (/) bzw. Backslash (\) aus dem Namen.
Sehen Sie sich die folgende Liste mit Einführungsdateien an:|
<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> |
|
<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> |