我在web.xml中有几个JSP和一个映射到每个的URL。底部以<servlet-name>7770015020</servlet-name>
开头的链接在浏览器中不起作用(在它之前有一条注释“OTHER FEEDS”。但是,如果我移动该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>
答案 0 :(得分:0)
我不确定为什么它不能按照您编写的方式工作(看起来您可能会遇到某种限制),但是有一个内置的JSP servlet可以映射到根上下文,然后以与所需路径一致的方式命名JSP。如果这不够灵活,编写自己的servlet,将其映射到根上下文,编写逻辑以任何方式映射所有内容,并简单地在代码中实例化和调用JspServlet。
您使用的是什么版本的Weblogic?你有没有尝试更新?您的某个映射中是否有可能存在细微的语法错误,以及它之后的任何映射都没有加载?