我正在使用基於OSGi的應用程序,該應用程序使用org.osgi.service.http.HttpService
,它不支持使用Servlet過濾器。Servlet過濾器和OSGi HttpService
在我意識到我無法使用Servlet過濾器之前,我打算應用一對現有的過濾器。這些過濾器設置相應的HTTP標頭:
- 防止響應緩存
- 控制在IE8渲染與
X-UA-Compatible
頭
什麼是我選擇這裏?我不想使用meta
元素來控制自that technique is unreliable以來的緩存。使用meta
元素來設置X-UA-Compatible
標頭可能是可以接受的,但我仍然對其他方法感興趣。
[SpringSource.org dmServer site](http://www.springsource.org/dmserver)是Rob的意思。 – 2009-05-23 21:27:56
奇怪 - 評論中的標記不同。 – 2009-05-23 21:28:57