HttpServletRequest
interface provides getCookies method, to access all the cookies in
the request.
public
Cookie[] getCookies()
Returns
an array containing all of the Cookie objects the client sent with
this request. This method returns null if no cookies were sent.
Follow
the below link for detailed example.
No comments:
Post a Comment