Working code of a java application acceptin cookies?
I read through the tutorials and I couldn't get the CookieHandler class to work how I intended it to. Can anyone show me some working code of a java application accepting cookies so that it can read a website?
# 1
We are using jdk 1.4 version. In our project, we used javax.servlet.http.Cookie to set/get cookie. This is very straight forward to use. If you need any help on this, let me know.