How to read a cookies sending via a servlet ? what are the way to do this ?
you need to create an array of javax.servlet.http.Cookie objects by calling the getCookies( ) method of HttpServletRequest. then use a for loop and print the cookies details by using the methods getName() and getValue().