Servlet mapping
Reports servlets without associated mappings.
Example:
<web-app>
<servlet>
<servlet-name>foo</servlet-name> // Error: servlet should have a mapping
<servlet-class>javax.servlet.Servlet</servlet-class>
</servlet>
<filter>
<filter-name>bar</filter-name> // Error: filter should have a mapping
<filter-class>java.lang.String</filter-class>
</filter>
</web-app>
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Jakarta EE: Web/Servlets, 233.SNAPSHOT |
Last modified: 13 July 2023