HOW-TO: Handling cookies using the java.net.* API Author: Ian Brown spam@hccp.org This is a brief overview on how to retrieve cookies from HTTP responses and how to return cookies in HTTP requests to the appropriate server using the java.net.* APIs. What are cookies? Retrieving cookies from a response. Setting a cookie value in a request. Setting multiple cookie values in a request. Sample code. W