I have the requirement of passing header parameters along the request(not as request parameters, value need to be send via header information).
I also tried using servlet response.sendRedirect() like as shown below:
String redirect_uri = "https://localhost:8080/MyApp";
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.