Now I do shopping website, when click view cart, how to display to your shopping cart page
Is simply how to display the List of manageBean data in the table in the
In addition with the following method to get the cart times wrong,,,
ADFContext. GetCurrent (.) getSessionScope () put (cart, "cart");
.
ShoppingCart cart=(ShoppingCart) ADFContext. GetCurrent () getSessionScope () get (" cart ");
CodePudding user response:
The key and the value against?CodePudding user response:
ADFContext. GetCurrent (.) getSessionScope () put (cart, "cart");The first parameter is the key, the second parameter is the value,
So,
ADFContext. GetCurrent (.) getSessionScope () put (" cart ", "cart");