Based on Java Web development of online bookstore, identity includes administrator and ordinary user, function includes user registration, login, save password, shopping cart, purchase, order query, pay and a series of functions, each function is consistent with Taobao