setHeader « Response « JSP-Servlet Q&A

1. how to response.setHeader works?

I have a filter in java that detect if the generation time is more than 200 then, it set cache-control header to a certain time. This is made to avoid a server ...

3. response.setHeader problem

Originally posted by raj guntupalli: Hi, I am using the following code in one jsp which calls another but I am getting null.I am using tomcat 4.1.Thanx in advance. <%! String name="075000051"; %> <%! String disply="test11"; %> <% response.setHeader("hello","hello1"); %>

jsptoservlet.jsp ...

4. response.setHeader problem