3

我有几个 JSP 和一个映射到 web.xml 中的每个的 URL。以底部开头的链接在<servlet-name>7770015020</servlet-name>浏览器中不起作用(前面有一条评论说“其他饲料”。但是,如果我将该 servlet 定义和映射移到顶部,那么它可以在浏览器中访问。我我在这里达到了一些限制?当我在 WebLogic 中部署战争时,我没有收到错误。顶部的其他链接工作。

<web-app>
    <description>JSP Test MOCK</description>

    <!-- ********************************************************************** -->
    <!-- <servlet> <servlet-name>test</servlet-name> <jsp-file>/WEB-INF/7770015010/test.jsp</jsp-file> 
        <init-param> <param-name>hello</param-name> <param-value>test</param-value> 
        </init-param> </servlet> <servlet-mapping> <servlet-name>test</servlet-name> 
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/test1</url-pattern> 
        </servlet-mapping> <servlet-mapping> <servlet-name>test</servlet-name> <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/test2/*</url-pattern> 
        </servlet-mapping> -->
    <!-- ********************************************************************** -->



    <!-- ********************************************************************** -->
    <!-- ******** TEST GOOD FEED ************* -->
    <!-- ********************************************************************** -->
    <!-- ********************************************************************** -->



    <servlet>
        <servlet-name>7770015010</servlet-name>
        <jsp-file>/WEB-INF/7770015010/feed.jsp</jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010</servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/benefits/integratedCare/careCoordinatorProfiles
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <!-- ******** TEST GOOD LINKS ************* -->
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-good_subjectdoc_absoluteurl_samebase_singledocname.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_absoluteurl_samebase_singledocname.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-good_subjectdoc_absoluteurl_samebase_singledocname.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/good_subjectdoc_absoluteurl_samebase_singledocname.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-good_subjectdoc_relativeurl_noext
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_absoluteurl_samebase_singledocname.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-good_subjectdoc_relativeurl_noext
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/good_subjectdoc_relativeurl_noext
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-good_subjectdoc_docname_noext
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_absoluteurl_samebase_singledocname.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-good_subjectdoc_docname_noext</servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/good_subjectdoc_docname_noext
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-good_subjectdoc_folder_endslash
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_absoluteurl_samebase_singledocname.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-good_subjectdoc_folder_endslash
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/good_subjectdoc_folder_endslash/*
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-good_subjectdoc_extrafolders_docname_ext.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_absoluteurl_samebase_singledocname.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-good_subjectdoc_extrafolders_docname_ext.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/x/y/z/good_subjectdoc_extrafolders_docname_ext.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-good_subjectdoc_extrafolders_docname_noext
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_absoluteurl_samebase_singledocname.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-good_subjectdoc_extrafolders_docname_noext
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/x/y/z/good_subjectdoc_extrafolders_docname_noext
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->

    <servlet>
        <servlet-name>7770015010-good_subjectdoc_extrafolders_folder_endslash
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_absoluteurl_samebase_singledocname.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-good_subjectdoc_extrafolders_folder_endslash
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/x/y/z/good_subjectdoc_extrafolders_folder_endslash/*
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-good_subjectddoc_absoluteurl_pathdifferentfrombase.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_absoluteurl_samebase_singledocname.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-good_subjectddoc_absoluteurl_pathdifferentfrombase.xml
        </servlet-name>
        <url-pattern>/testnewpath/good_subjectddoc_absoluteurl_pathdifferentfrombase.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-good_subjectdoc_nocharset_in_httpheaders.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_nocharset_in_httpheaders.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-good_subjectdoc_nocharset_in_httpheaders.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/good_subjectdoc_nocharset_in_httpheaders.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->

    <!-- ******** TEST BAD LINKS ************* -->
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_bad_relativelink_startatAA.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/good_subjectdoc_absoluteurl_samebase_singledocname.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_bad_relativelink_startatAA.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_bad_relativelink_startatAA.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ***********************************************`*********************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_404_error_subjectdoc_nohtmlerrorpage.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_404_error_subjectdoc_nohtmlerrorpage.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_404_error_subjectdoc_nohtmlerrorpage.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_404_error_subjectdoc_nohtmlerrorpage.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->

    <servlet>
        <servlet-name>7770015010-ERROR_407_subjectdoc_textheader_error_onprintlntext.html
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_407_subjectdoc_textheader_error_onprintlntext.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_407_subjectdoc_textheader_error_onprintlntext.html
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_407_subjectdoc_textheader_error_onprintlntext.html
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->

    <servlet>
        <servlet-name>7770015010-ERROR_500_subjectdoc_htmlheader_error_realhtmlerrorpage.html
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_500_subjectdoc_htmlheader_error_realhtmlerrorpage.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_500_subjectdoc_htmlheader_error_realhtmlerrorpage.html
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_500_subjectdoc_htmlheader_error_realhtmlerrorpage.html
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->

    <servlet>
        <servlet-name>7770015010-ERROR_500_subjectdoc_xmlheader_xmlsubjectdoc.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_500_subjectdoc_xmlheader_xmlsubjectdoc.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_500_subjectdoc_xmlheader_xmlsubjectdoc.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_500_subjectdoc_xmlheader_xmlsubjectdoc.xml
        </url-pattern>
    </servlet-mapping>

    <!-- ********************************************************************** -->

    <servlet>
        <servlet-name>7770015010-ERROR_404_subjectdoc_xmlheader_error_onjspxmlpage.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_404_subjectdoc_xmlheader_error_onjspxmlpage.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_404_subjectdoc_xmlheader_error_onjspxmlpage.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_404_subjectdoc_xmlheader_error_onjspxmlpage.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_200_subjectdoc_htmlheader_error_jspredirect_toerrorjsphtml.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_200_subjectdoc_htmlheader_error_jspredirect_toerrorjsphtml.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_200_subjectdoc_htmlheader_error_jspredirect_toerrorjsphtml.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_200_subjectdoc_htmlheader_error_jspredirect_toerrorjsphtml.xml</url-pattern>
    </servlet-mapping>
    <!-- ********** REDIRECT TO THIS ACTUAL HTML ERROR PAGE ******** -->
    <servlet>
        <servlet-name>7770015010-ERROR_200_subjectdoc_htmlheader_error_weblogicredirect_toerrorjsphtml_ACTUALERRORPAGE.jsp
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_200_subjectdoc_htmlheader_error_weblogicredirect_toerrorjsphtml_ACTUALERRORPAGE.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>
            7770015010-ERROR_200_subjectdoc_htmlheader_error_weblogicredirect_toerrorjsphtml_ACTUALERRORPAGE.jsp
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_200_subjectdoc_htmlheader_error_weblogicredirect_toerrorjsphtml_ACTUALERRORPAGE.jsp
        </url-pattern>
    </servlet-mapping>

    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_500_subjectdoc_htmlheader_error_jspredirect_toerror_500html.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_500_subjectdoc_htmlheader_error_jspredirect_toerror_500html.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_500_subjectdoc_htmlheader_error_jspredirect_toerror_500html.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_500_subjectdoc_htmlheader_error_jspredirect_toerror_500html.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********** REDIRECT TO THIS ACTUAL HTML ERROR PAGE ******** -->
    <servlet>
        <servlet-name>7770015010-ERROR_500_subjectdoc_htmlheader_error_jspredirect_toerror_500html_ACTUALERRORPAGE.jsp
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_500_subjectdoc_htmlheader_error_jspredirect_toerror_500html_ACTUALERRORPAGE.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_500_subjectdoc_htmlheader_error_jspredirect_toerror_500html_ACTUALERRORPAGE.jsp
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_500_subjectdoc_htmlheader_error_jspredirect_toerror_500html_ACTUALERRORPAGE.jsp
        </url-pattern>
    </servlet-mapping>


    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_404_subjectdoc_htmlheader_error_weblogicredirect_toerrorjsphtml.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_404_subjectdoc_htmlheader_error_weblogicredirect_toerrorjsphtml.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
        <!-- Define an error handler for 404 pages -->
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_404_subjectdoc_htmlheader_error_weblogicredirect_toerrorjsphtml.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/doesntexist.xml
        </url-pattern>
    </servlet-mapping>

    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_407_validfeedcontent.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_407_validfeedcontent.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_407_validfeedcontent.xml</servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_407_validfeedcontent.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_malformed_xml_subjectdoc.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_malformed_xml_subjectdoc.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_malformed_xml_subjectdoc.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_malformed_xml_subjectdoc.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_nonxml_html_subjectdoc_htmlheader.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_nonxml_html_subjectdoc_htmlheader.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_nonxml_html_subjectdoc_htmlheader.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_nonxml_html_subjectdoc_htmlheader.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_differentxml_subjectdoc_xmlheader.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_differentxml_subjectdoc_xmlheader.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_differentxml_subjectdoc_xmlheader.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_differentxml_subjectdoc_xmlheader.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_validsubjecdoc_badheadercontenttype.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_validsubjecdoc_badheadercontenttype.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_validsubjecdoc_badheadercontenttype.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_validsubjecdoc_badheadercontenttype.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_nodata_onsubjectdoc_goodheader_goodheader.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_nodata_onsubjectdoc_goodheader_goodheader.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_nodata_onsubjectdoc_goodheader_goodheader.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_nodata_onsubjectdoc_goodheader_goodheader.xml
        </url-pattern>
    </servlet-mapping>

    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_nosubjectdoc_feed_dasextensiononly_errors.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_nosubjectdoc_feed_dasextensiononly_errors.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_nosubjectdoc_feed_dasextensiononly_errors.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_nosubjectdoc_feed_dasextensiononly_errors.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_pointtonoserver_noheaders.xml
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_pointtonoserver_noheaders.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_pointtonoserver_noheaders.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_pointtonoserver_noheaders.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015010-ERROR_pointtoserver_behindfirewall_noheaders
        </servlet-name>
        <jsp-file>/WEB-INF/7770015010/ERROR_pointtoserver_behindfirewall_noheaders.jsp
        </jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015010-ERROR_pointtoserver_behindfirewall_noheaders.xml
        </servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015010/path/path2/ERROR_pointtoserver_behindfirewall_noheaders.xml
        </url-pattern>
    </servlet-mapping>
    <!-- ******************** OTHER FEEDS ************************************************** -->
    <servlet>
        <servlet-name>7770015020</servlet-name>
        <jsp-file>/WEB-INF/7770015020/feed.jsp</jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015020</servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015020/benefits/integratedCare/careCoordinatorProfiles
        </url-pattern>
    </servlet-mapping>
    <!-- ********************************************************************** -->
    <servlet>
        <servlet-name>7770015030</servlet-name>
        <jsp-file>/WEB-INF/7770015030/feed.jsp</jsp-file>
        <init-param>
            <param-name>hello</param-name>
            <param-value>test</param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>7770015030</servlet-name>
        <url-pattern>/2.16.840.1.113883.3.42.10001.100001.12/7770015030/benefits/integratedCare/careCoordinatorProfiles
        </url-pattern>
    </servlet-mapping>

    ...{DELETED}
</web-app>
4

1 回答 1

0

我不确定为什么它不能按照您编写的方式工作(您似乎确实遇到了某种限制),但是有一个内置的 JSP servlet,您可以映射到根上下文,然后以与所需路径一致的方式命名您的 JSP。如果这还不够灵活,请编写您自己的 servlet,将其映射到根上下文,编写逻辑以您希望的任何方式映射所有内容,然后简单地在代码中实例化和调用 JspServlet。

您使用的是什么版本的 Weblogic?你试过更新吗?是否有可能在您的一个映射中存在细微的语法错误,并且它以及在它没有加载之后出现的任何映射?

于 2013-11-15T13:33:01.240 回答