This rule detects the presence of a servlet definition in the web.xml file, where the <servlet-class> element is set to kodo.remote.PersistenceServerServlet. The web.xml file must be inside a WEB-INF folder. The source scanner quick fix deletes the servlet entry and the associated servlet mapping entry.
The following table provides examples of web.xml elements that are detected and deleted when the quick fix is applied:
| web.xml in WEB-INF Folder | |
|---|---|
|
... <servlet id="Servlet_123"> <servlet-name>TheServletName</servlet-name> <servlet-class>kodo.remote.PersistenceServerServlet</servlet-class> </servlet> ... <servlet-mapping> <servlet-name>TheServletName</servlet-name> <url-pattern>/anyURIPath</url-pattern> </servlet-mapping> ... |