if (cookie.getName().equalsIgnoreCase(BasketController.COOKIE_SPRD_BASKET))
basketId = cookie.getValue();
}
if (basketId == null)
httpServletRequest.setAttribute("basket", new Basket("0", "0", "0", "0", "-"));
else {
System.out.println("action: " + httpServletRequest.getParameter("action") + " id " + httpServletRequest.getParameter("itemId"));
if (httpServletRequest.getParameter("action") != null &&
httpServletRequest.getParameter("action").equalsIgnoreCase("delete") &&
httpServletRequest.getParameter("itemId") != null) {