Description: This code is to achieve a simple shopping cart, includes additions and deletions to search function! Using the struts2.0 framework.
To Search:
File list (Check if you may need any files):
购物车\ShoppingCart\.classpath
......\............\.mymetadata
......\............\.project
......\............\WebRoot\cart.jsp
......\............\.......\computer_list.jsp
......\............\.......\WEB-INF\web.xml
......\............\.......\.......\lib\mysql-connector-java-5.1.7-bin.jar
......\............\.......\.......\classes\db.properties
......\............\.......\.......\.......\my.sql
......\............\.......\.......\.......\web\ShoppingServlet.class
......\............\.......\.......\.......\util\DBUtil.class
......\............\.......\.......\.......\test\TestDAO.class
......\............\.......\.......\.......\entity\Computer.class
......\............\.......\.......\.......\dao\ComputerDAO.class
......\............\.......\.......\.......\bean\Cart.class
......\............\.......\.......\.......\....\CartItem.class
......\............\.......\META-INF\MANIFEST.MF
......\............\.......\js\prototype-1.6.0.3.js
......\............\.......\..\CVS\Entries
......\............\.......\..\...\Repository
......\............\.......\..\...\Root
......\............\.......\img\d007\x200.jpg
......\............\.......\...\....\x500.jpg
......\............\.......\...\....\x600.jpg
......\............\.......\...\....\CVS\Entries
......\............\.......\...\....\...\Repository
......\............\.......\...\....\...\Root
......\............\.......\...\CVS\Entries
......\............\.......\...\...\Repository
......\............\.......\...\...\Root
......\............\.......\css\main\bg_button.gif
......\............\.......\...\....\bg_header.gif
......\............\.......\...\....\bg_input.gif
......\............\.......\...\....\bg_list.gif
......\............\.......\...\....\bg_menu.gif
......\............\.......\...\....\bg_menu2.gif
......\............\.......\...\....\color.jpg
......\............\.......\...\....\getcolor.htm
......\............\.......\...\....\login.css
......\............\.......\...\....\login_header.gif
......\............\.......\...\....\logo.gif
......\............\.......\...\....\menu_add.gif
......\............\.......\...\....\menu_reduce.gif
......\............\.......\...\....\process.gif
......\............\.......\...\....\processbg.gif
......\............\.......\...\....\style.css
......\............\.......\...\....\watermarkpreview.jpg
......\............\.......\...\....\zoomin.gif
......\............\.......\...\....\zoomout.gif
......\............\.......\...\....\CVS\Entries
......\............\.......\...\....\...\Repository
......\............\.......\...\....\...\Root
......\............\.......\...\d010\bg.gif
......\............\.......\...\....\bullet_green.gif
......\............\.......\...\....\bullet_grey.gif
......\............\.......\...\....\button.gif
......\............\.......\...\....\content_bg.gif
......\............\.......\...\....\footer.gif
......\............\.......\...\....\footer_bg.gif
......\............\.......\...\....\style.css
......\............\.......\...\....\tableheader-bg-grey.gif
......\............\.......\...\....\tableheader-bg.gif
......\............\.......\...\....\top_left.gif
......\............\.......\...\....\CVS\Entries
......\............\.......\...\....\...\Repository
......\............\.......\...\....\...\Root
......\............\src\db.properties
......\............\...\my.sql
......\............\...\web\ShoppingServlet.java
......\............\...\util\DBUtil.java
......\............\...\test\TestDAO.java
......\............\...\entity\Computer.java
......\............\...\dao\ComputerDAO.java
......\............\...\bean\Cart.java
......\............\...\....\CartItem.java
......\............\.settings\org.eclipse.jdt.core.prefs
......\本购物车运行说明文档.txt
......\ShoppingCart\WebRoot\WEB-INF\classes\web
......\............\.......\.......\.......\util
......\............\.......\.......\.......\test
......\............\.......\.......\.......\entity
......\............\.......\.......\.......\dao
......\............\.......\.......\.......\bean
......\............\.......\img\