This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I'm setting cokkies through my servlet. But before doing that, I want to confirm whether cookies are enabled in the browser or not. If cookies are not enabled, I want to display a message in the borwser to enable the cookies first.
How can I check whethere cookies are enabled or disabled by the browser?