public static String destroyCart(HttpServletRequest request,HttpServletResponse response){
  HttpSession session=request.getSession();
  clearCart(request,response);
  session.removeAttribute("shoppingCart");
  session.removeAttribute("orderPartyId");
  session.removeAttribute("orderMode");
  session.removeAttribute("productStoreId");
  session.removeAttribute("CURRENT_CATALOG_ID");
  return "success";
}

public static String destroyCart ( HttpServletRequest request , HttpServletResponse response ) { HttpSession session = request . getSession ( ) ; clearCart ( request , response ) ; session . removeAttribute ( "shoppingCart" ) ; session . removeAttribute ( "orderPartyId" ) ; session . removeAttribute ( "orderMode" ) ; session . removeAttribute ( "productStoreId" ) ; session . removeAttribute ( "CURRENT_CATALOG_ID" ) ; return "success" ; }
totally wipe out the cart , removes all stored info .
