dcsimg
Unable to read request header set using response.setHeader
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Narendra_Panuganti
Posted On:   Friday, August 6, 2010 04:22 PM

Hi,
There is two applications. In one application, in a jsp
I am setting a header response.setHeader("TEST_HEADER","ABCD"); and calling a URL from the jsp

response.sendRedirect("http://10.8.9.10:9081/..../myacc.jsp");



It is calling the second application, however, in tthe servlet of the second app, when I try to read the request header, I am getting null.
Any idea how to get the headers that we manually set in the response?

I even tried response.addHeader("TEST_HEADER","ABCD"); it didn't work.
About | Sitemap | Contact