I am adding one custom header "edmsversion" in my first page, it is visible
in it but when the response is redirected to another jsp, my header is lost.
In second page, it's not getting. I have copied my code below.
Please help me.

My first Page
-------------------------
System.out.println("Jsp called successfully");

response.addHeader("edmsversion","1.2");
boolean isheader = response.containsHeader("edmsversion");
System.out.println("contains edmsversion header ..."+isheader);

response.sendRedirect("/TestHeaderResponse.jsp");

TestHeaderResponse.jsp
----------------------------------
System.out.println("Test header response page called successfully");

String stringversion = request.getHeader("edmsversion");
System.out.println("edms version header : "+stringversion);

Enumeration headernames = request.getHeaderNames();
System.out.println("Headers---------");
while (headernames.hasMoreElements()){
String headername = (String)headernames.nextElement();
String headervalue = request.getHeader(headername);
System.out.println(headername+"----"+headervalue);
}