Can i set a Header say "NAME" as the header name and value is "MYNAME" in the response object and call the response.sendRedirect( url ) and Can i access the same header ( "NAME" ) in the redirected url? That is response.setHeader("NAME","MYNAME"); response.sendRedirect("http://myhost/servlet/MyServlet"); After request reaching to MyServert, Can I get the value of "NAME" from the Header?
posted 13 years ago
I've never tested this, You could setup you own test case and see. Let us know what the results are.