Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我基本上需要一个与我发布 的这个问题相同的信息的 Tomcat 解决方案。
谢谢。
您可以编写过滤器或服务器端阀门来添加这些标头,甚至包装响应并在任何情况下添加这些标头。