Any idea on how to set a header in the response object? The obvious answer is the setHeader() method, but it doesn't seem to work. I use RequestDispatcher.include() to get to the second
servlet, I set the header there, and it returns to the first servlet. When I use the containsHeader(name) method, it returns "true", but when I print out getHeaderNames(), my new header is not there.
Any thoughts?