Information
WAR files contain servable content. The Web container will serve any files found in the root(Web Server Document Root) of the WAR file. This is fine as long as you place only servable content in the root. Thus, you should never place content that shouldn't be shown to users in the root of the WAR. For example, don't put property files, class files, or other important information there. If you must place such information in the WAR file, place it within the WEB-INF directory, as permitted by the servlet specification. Information there is never served by the Web.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
Remove all content that shouldn't be shown to users in the root of the WAR For example, relocate property files, class files, or other important information within the WEB-INF directory, as permitted by the servlet specification.