Hi
I have the requirement of passing header parameters along the request(not as request parameters, value need to be send via header information).
I googled to find if there is any possibility to send header information using javascript, but in vain.
I also tried using
servlet response.sendRedirect() like as shown below:
String redirect_uri = "https://localhost:8080/MyApp";
response.addHeader("ACT", "TEST");
response.sendRedirect(redirect_uri);
The request gets redirected but the header value do not get passed, as the browser makes a new request which do not contain the header information i put in the servlet. Kindly suggest me a way i can pass information to my application url via headers.
Thanks,
Sanjaykar