Online Software Educational Training - IT Tutorials - Online Education Training for Computer Software


Home

JAVA SERVLET

Reading Cookies

To get information from a cookie

  • Retrieve all the cookies from the user's request 
  • Find the cookie or cookies with the name that you are interested in, using standard programming techniques 
  • Get the values of the cookies that you found

Here is an example program to read all cookies from client






Previous

Next