在开放自由中是否有 Web Container 自定义属性 com.ibm.ws.webcontainer.suppresserrorpageodrheader="true" 等价物?

问题描述

在 WAS Liberty 文档中,我可以找到 Web Container Custom 属性 com.ibm.ws.webcontainer.suppresserrorpageodrheader (https://www.ibm.com/docs/en/was/8.5.5?topic=configuration-web-container-custom-properties#com.ibm.ws.webcontainer.suppressErrorPageODRHeader)

Open Liberty 中的等价物是什么?我怎样才能将它设置为true?我在哪里设置?

谢谢, 吉尔森

解决方法

我建议尝试将以下内容添加到您的 server.xml:

<webContainer com.ibm.ws.webcontainer.suppresserrorpageodrheader="true"/>

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...