检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:谌桂枝[1]
机构地区:[1]株洲职业技术学院信息工程系,株洲412000
出 处:《电脑编程技巧与维护》2009年第14期35-37,共3页Computer Programming Skills & Maintenance
摘 要:Session对象对于初学者来说是比较抽象的概念,比较难理解,用Session对象实现购物车能帮助读者理解Session对象。通过Servlet、Session和Java Bean来实现购物车中商品的添加与查看两大功能,并提出购物车的较高实现要求,添加的商品如果购物车中有,将不再重复添加商品,它自动记录选购的商品并计算商品的总价,在购物车中还可以改变商品的数量或取消对某商品的选购。For beginners session object is a relatively abstract concept and it's difficult to understand. It will help learners to understand the session object to use session object to implement shopping cart. In this paper, it can implement the two functions of accession and check by using Servlet, Session, and JavaBean, and achieve the higher requirements of the shopping cart: the goods will not be added to the shopping cart if there are the same commodities, the chosen goods will be recorded automatically and the total price of goods will be calculated. In the shopping cart the quantity of goods can also be changed and the purchase of a commodity can also be canceled.
分 类 号:TP311.10[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.128.173.223