2012-05-04 203 views
3

我有幾個JSP和一個URL映射到web.xml中的每個。底部鏈接<servlet-name>7770015020</servlet-name>在瀏覽器中不起作用(前面有一條評論「OTHER FEEDS」。但是,如果我將該servlet定義和映射移動到頂部,那麼它可以在瀏覽器中訪問。我在這裏達到了一些限制嗎?當我部署在WebLogic中戰我沒有得到一個錯誤。在上面工作的各個環節。WebLogic:URL映射不起作用

<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> 

回答

0

我不知道爲什麼它不工作的(您似乎很可能會遇到某種限制),但是有一個內置的JSP servlet可以映射到根上下文,然後只需以符合需要的方式命名您的JSP路徑如果這不夠靈活,編寫自己的servlet,將其映射到根上下文,編寫邏輯來以任何方式映射所有內容你的願望,並簡單地在代碼中實例化和調用JspServlet。

您使用的是什麼版本的Weblogic?你有沒有嘗試更新?是否有可能在你的映射中有一個微妙的語法錯誤,並且它和它沒有加載之後的任何映射?