tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <m...@ceti.pl>
Subject Re: Adding custom http headers to pages that my Tomcat serve
Date Sun, 21 Sep 2008 16:29:46 GMT
Clement Low wrote:
> I would like to set a custom header to all of the pages that my Tomcat serve
> :
>
>
> *<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />*
>
>
> What this does is basically telling IE 8 to display the particular page as
> if it were in IE 7.
>
> I do not want to add this header to every page that I have. What can I do to
> tell Tomcat to achieve this?
>   
The better way is to implement a servlet filter and declare it in 
application's web.xml descriptor.

-- 
Mikolaj Rydzewski <miki@ceti.pl>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message