hi,
i try to create a servlet that set a session attribute called "cart" and use cookie to store the cart size(number of products from cart).
...then i am redirecting(using sendRedirect method) the servlet response to another jsp page(cart.jsp).
ok..cart.jsp display the cookie's value,except other previous 2 page..just when i refresh these pages,it gives the cookie's value.
how to solve this problem?