<pre id="vvttv"><mark id="vvttv"><progress id="vvttv"></progress></mark></pre>
    <pre id="vvttv"></pre>

      <p id="vvttv"></p>

          <p id="vvttv"></p>

                <p id="vvttv"></p>

                <pre id="vvttv"><cite id="vvttv"><progress id="vvttv"></progress></cite></pre>

                  <output id="vvttv"><dfn id="vvttv"><th id="vvttv"></th></dfn></output>

                    <p id="vvttv"></p>

                    J2EE Misconfiguration: Duplicate Servlet Mapping

                    ABSTRACT

                    存在使用相同 URL 模式的多個 servlet 映射。重復的 servlet 映射通常表示存在 Leftover Debug Code 或排字錯誤。

                    EXPLANATION

                    重復的 servlet 映射毫無用處,因為當多個 servlet 映射使用相同 URL 模式時,僅應用最后一個條目。



                    例 1:在以下示例中,兩個不同的 servlet 映射使用了相同的 URL 模式 /servletA/*


                    <servlet-mapping>
                    <servlet-name>ServletA</servlet-name>
                    <url-pattern>/servletA/*</url-pattern>
                    </servlet-mapping>
                    <servlet-mapping>
                    <servlet-name>ServletB</servlet-name>
                    <url-pattern>/servletA/*</url-pattern>
                    </servlet-mapping>

                    REFERENCES

                    [1] Standards Mapping - Common Weakness Enumeration - (CWE) CWE ID 398


                    Copyright 2013 Fortify Software - All rights reserved.
                    (Generated from version 2013.1.1.0008 of the Fortify Secure Coding Rulepacks)
                    desc.config.java.j2ee_misconfiguration_duplicate_servlet_mapping

                      <pre id="vvttv"><mark id="vvttv"><progress id="vvttv"></progress></mark></pre>
                      <pre id="vvttv"></pre>

                        <p id="vvttv"></p>

                            <p id="vvttv"></p>

                                  <p id="vvttv"></p>

                                  <pre id="vvttv"><cite id="vvttv"><progress id="vvttv"></progress></cite></pre>

                                    <output id="vvttv"><dfn id="vvttv"><th id="vvttv"></th></dfn></output>

                                      <p id="vvttv"></p>

                                      这里只有精品视频