[英]Content-Disposition setting for Apache Tomcat 8
In web.xml file of apache tomcat located at "C:\\Program Files\\Apache Software Foundation\\Tomcat 8.0\\conf\\web.xml"
, we can set the Content-Type
of http header. 在位于
"C:\\Program Files\\Apache Software Foundation\\Tomcat 8.0\\conf\\web.xml"
的apache tomcat的web.xml文件中,我们可以设置http标头的Content-Type
。
I need to also set Content-Disposition
, what and where the changes are required for the same? 我还需要设置
Content-Disposition
,相同的地方需要进行哪些更改?
Write a Filter. 写一个过滤器。
An UrlRewriteFilter may help you. UrlRewriteFilter可能会帮助您。 https://wiki.apache.org/tomcat/AddOns
https://wiki.apache.org/tomcat/AddOns
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.