You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Odelya Glick <od...@jpost.com> on 2007/09/06 15:36:38 UTC
reponse.setHeader in tomcat
Hello,
I am trying to change the response header in tomcat by setting:
Response.setHeader("Content-Type","text/plain") in a servletFilter.
But it doesn't work.
Any idea for it?
Odelya Glick
JPost.com web-programmer
050-2052075
Re: reponse.setHeader in tomcat
Posted by Gregor Schneider <rc...@googlemail.com>.
Take a look at the example below - that should shed some light:
http://mail-archives.apache.org/mod_mbox/tomcat-users/200611.mbox/%3Ca2d59f0d0611290037sef189cjab674dffddc4f2e8@mail.gmail.com%3E
Cheers
Gregor
--
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371
---------------------------------------------------------------------
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