if(shoppingList.containsKey(i)){
this.shoppingList.replace(i, this.shoppingList.get(i)+amount);
return true;
}
                this.shoppingList.replace(i, this.shoppingList.get(i)+amount);
return true;
}
                    
                    2015-09-20
                
            在reg.jsp中跳转方式是post,直接跳转到RegServlet.java的doPost方法就好啦,  可为什么还要在RegServlet.java的doGet方法中写doPost方法呢?
                
                    
                    2015-09-19
                
             
             
        










