bookstore-master

所属分类:Java编程
开发工具:Java
文件大小:1722KB
下载次数:1
上传日期:2017-10-27 14:04:22
上 传 者khainq.bn
说明:  bookstore-master sharing

文件列表:
WEB-INF (0, 2015-06-30)
WEB-INF\classes (0, 2015-06-30)
WEB-INF\classes\fudandb (0, 2015-06-30)
WEB-INF\classes\fudandb\Book.class (7965, 2015-06-30)
WEB-INF\classes\fudandb\Common.class (13735, 2015-06-30)
WEB-INF\classes\fudandb\Connector.class (1497, 2015-06-30)
WEB-INF\classes\fudandb\Customer.class (5570, 2015-06-30)
WEB-INF\classes\fudandb\Customer_Rate.class (4364, 2015-06-30)
WEB-INF\classes\fudandb\Feedback.class (5359, 2015-06-30)
WEB-INF\classes\fudandb\Feedback_Rate.class (3835, 2015-06-30)
WEB-INF\classes\fudandb\Orders.class (4716, 2015-06-30)
WEB-INF\classes\fudandb\testdriver.class (8821, 2015-06-30)
WEB-INF\web.xml (385, 2015-06-30)
browsebook.jsp (9357, 2015-06-30)
css (0, 2015-06-30)
css\bootstrap.min.css (101595, 2015-06-30)
css\images (0, 2015-06-30)
css\images\best-price.png (3795, 2015-06-30)
css\images\best-sellers-directions.png (3857, 2015-06-30)
css\images\body.png (4929, 2015-06-30)
css\images\body1.png (3820, 2015-06-30)
css\images\books.png (170781, 2015-06-30)
css\images\buy-btn.png (1057, 2015-06-30)
css\images\cart-icon.png (1514, 2015-06-30)
css\images\favicon.ico (1150, 2015-06-30)
css\images\footer-bg.png (1047, 2015-06-30)
css\images\footer-top.png (7054, 2015-06-30)
css\images\footer.png (2269, 2015-06-30)
css\images\image-best01.jpg (4484, 2015-06-30)
css\images\image-best02.jpg (5238, 2015-06-30)
css\images\image-best03.jpg (5092, 2015-06-30)
css\images\image-best04.jpg (5743, 2015-06-30)
css\images\image01.jpg (5926, 2015-06-30)
css\images\image02.jpg (5919, 2015-06-30)
css\images\image03.jpg (4075, 2015-06-30)
css\images\image04.jpg (4906, 2015-06-30)
css\images\image05.jpg (5020, 2015-06-30)
css\images\image06.jpg (5632, 2015-06-30)
css\images\image07.jpg (5310, 2015-06-30)
... ...

1. Compile the java code in WEB-INF/classes: javac fudandb/*.java 2. Edit the web.xml in WEB-INF; replace Your Name with your first name and last name. 3. Access your homepage via http://10.141.208.26:8080/~fudanuxx 4. To work on your own database, you need to modify the credentials in Connector.java (so that it connects to your own database, rather than the class-wide database acmdb). Note that the sample JSP code then will not work, since the sample "orders" table does not exist in your own database. You can always use the distributed script orders.sql (use "source orders.sql;" in mysql client) to produce that table in your own database, so that the sample JSP code will work with your own database. (be careful when doing this if your database already has a "orders" table from your phase 1; that table will be overwritten. To avoid that, change the orders.sql script to have a different table name, and also change the Orders.java code to query the new table instead). 5. Place any of your JSP pages directly under the public_html folder, and your java code with the necessary package folder structure under the WEB-INF/classes folder. You can then access your abc.jsp page from http://10.141.208.26:8080/~fudanuxx/abc.jsp. And inside your abc.jsp page, you can import your java class (see orders.jsp for an example).

近期下载者

相关文件


收藏者