Quantcast
Channel: User Walter Rumsby - Stack Overflow
Viewing all articles
Browse latest Browse all 39

Servlet Filters and the OSGi HttpService

$
0
0

I'm working on an OSGi-based application that uses org.osgi.service.http.HttpService which does not support the use of Servlet Filters.

Before I realised that I wouldn't be able to use Servlet Filters I was planning to apply a couple of existing Filters. These Filters set the appropriate HTTP headers to:

  • prevent caching of responses
  • control rendering in IE8 with the X-UA-Compatible header

What are my options here? I don't want to use meta elements to control caching since that technique is unreliable. Using a meta element to set the X-UA-Compatible header is probably acceptable, but I'd still be interested in alternative approaches.


Viewing all articles
Browse latest Browse all 39

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>