We are having a requirement that we need to store some value in cookie in action class of one war file and later read that cookie value in another war file action class. I am trying to read that using the request.getKookies() method.I am not able to read all the cookies that are seen in the browser(we use mozilla firefox).we also create cookies using the response.setHeader(String,String) method and so i tried to access them using the request.getHeader(String) method. But using both the methods i am able to read only some cookies say 2 out of 10.
I am accessing the cookies using the method "request.getKookies()". we also create cookies using the response.setHeader(String,String) method and so i tried to access them using the request.getHeader(String) method. But still i am not able to access all the cookies. Can any one please suggest me how can I access all the cookies that I can use using the Browser Show cookies option.