actually is should show retrieved cookie's name and retrieved cookie's value but i require to refresh it to get those values.
tushar panda wrote:the servlet shown below requires a refresh to show cookies values.
but i want it to auto refresh which is not possible because it user doPost method .
I'm not sure I get your problem, but how are you invoking the servlet ?
Vijitha Kumara wrote:I'm not sure I get your problem, but how are you invoking the servlet ?
i am invoking it by a forward method in requestdispatcher.