【发布时间】:2017-06-07 21:25:29
【问题描述】:
我需要禁用 HTTP 方法 OPTIONS 。我在 web.xml 中放置了下面的配置。它在 tomcat 中有效(不允许 OPTIONS 方法),但在错误时抛出以下错误
部署
<security-constraint>
<web-resource-collection>
<web-resource-name>Restricted HTTP methods.</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>OPTIONS</http-method>
</web-resource-collection>
<auth-constraint />
</security-constraint>
[HTTP:101401]The url-pattern Coordinator in web application Department.war is mapped to multiple Servlets
weblogic 需要不同的配置还是 weblogic 中的已知错误?
【问题讨论】:
-
@Exception_al 其实我已经看过第二个链接了。我已经在使用 12.2.1 。第一个链接与这个问题无关
标签: java tomcat servlets weblogic