Inspectopedia Help

Web.xml warnings

Reports duplicated welcome-files listed in the descriptor for deploying a Web Module to a server.


<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" ""> <web-app> <welcome-file-list> <welcome-file> Welcome1.jsp </welcome-file> <welcome-file> /Welcome1.jsp // Error: duplicated welcome-file </welcome-file> <welcome-file> Welcome3.jsp </welcome-file> </welcome-file-list> </web-app>

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Jakarta EE: Web/Servlets, 233.SNAPSHOT

Last modified: 13 July 2023