The controller file for order mangager contains request entry
"initorderentry" which invoke method "initializeOrderEntry" on
ShoppingCartEvents.java.
In this method we have statement
ShoppingCart cart = getCartObject(request);

This getCartObject first checks the cart object  in the request  and if it
is not in request than it finds it in the session.
My thought was that first time it will not find it in the session too, so
the following line of the method will got executed
            cart = new WebShoppingCart(request, locale, currencyUom);
            session.setAttribute("shoppingCart", cart);
and here we get the cart object initialized and set it in the session.
But these statements are not executed when i run the order process.

Than i guess probably some preprocessors may be doing that. But unable to
locate any thing about this.
My point is, first time we run the order manager or the ecommerce
application at what point the cart object comes into existence.

Any pointers will be helpful.

Thanks,

-- 
Vikas Mayur

Reply via email to