This rule flags URI references to the context root without a trailing slash that would have previously been automatically redirected.
If a web application overrides the "/" URI (for instance, by mapping a servlet to that URI), and the application is accessed by its context root alone, e.g., http://localhost:9080/context, WebSphere Application Server will not automatically redirect to http://localhost:9080/context/, as it did in versions 5.x.
The web container custom property com.ibm.ws.webcontainer.redirectcontextroot can be set to force the old behavior. If this property is set to true, then the web container will redirect.
The rule only scans Java files. Manually scan JSP files or set the custom property to keep the old behavior.
For more information on the
com.ibm.ws.webcontainer.redirectcontextroot
property, see
Web container custom properties.