Hello All, I have the following simple App: ---------------The method name is changed in the code accrd. to the JavaRanch naming convention---
TestCookieServlet- In this servlet, I'm creating a new cookie and adding the same to the response, and finally forwarding the request to another component.
DisplayCookies In this file I'm getting all cookies from the request, as shown here:
I have two queries: (1) For the first time when I request TestCookieServlet (whin inturn forwards the call to DisplayCookies) I get to see- "There are no cookies for this request". But, when I refresh the page I get the cookies name and value. Why it doesn't show me the same result on the first request?