tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hassan Schroeder" <>
Subject Re: http header setting problem in servlet
Date Tue, 24 Apr 2007 15:13:57 GMT
On 4/24/07, Huseyin Sinecan <> wrote:

> I want to set header parameters of http response in my servlet.

Are you sure you're working on the right response object? Perhaps
you can post a simple but complete example that fails...

I just tried the following file as a JSP:
	response.setHeader("HooHaa", "whatever");
	response.setHeader("Cache-Control", "no-cache");
what now?
:: and can see the headers are set (using LiveHTTPHeaders).

Hassan Schroeder ------------------------

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message