public static String saveCartToAutoSaveList(HttpServletRequest request,HttpServletResponse response){
  LocalDispatcher dispatcher=(LocalDispatcher)request.getAttribute("dispatcher");
  ShoppingCart cart=ShoppingCartEvents.getCartObject(request);
  try {
    fillAutoSaveList(cart,dispatcher);
  }
 catch (  GeneralException e) {
    Debug.logError(e,"Error saving the cart to the auto-save list: " + e.toString(),module);
  }
  return "success";
}

public static String saveCartToAutoSaveList ( HttpServletRequest request , HttpServletResponse response ) { LocalDispatcher dispatcher = ( LocalDispatcher ) request . getAttribute ( "dispatcher" ) ; ShoppingCart cart = ShoppingCartEvents . getCartObject ( request ) ; try { fillAutoSaveList ( cart , dispatcher ) ; } catch ( GeneralException e ) { Debug . logError ( e , "Error saving the cart to the auto-save list: " + e . toString ( ) , module ) ; } return "success" ; }
saves the shopping cart to the specialized ( auto - save ) shopping list
