Inspectopedia Help

Web.xml warnings

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

Example:

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <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

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Jakarta EE: Web/Servlets, 241.16690

Last modified: 29 April 2024