问题描述
在 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"/>