intelliJ version of bookstore_08 Building an online bookstore with frontend(jsp&html&css, JavaScript&jQuery) backend(tomcat, Servlet, Filter, ajax) and database(mysql, jdbc). Website can be accessed at http://jiapeng.info/BookStore_08/
Code of frontend is located under BookStore_JavaWeb/BookStore_08/WebContent/.
Code of backend is located under BookStore_JavaWeb/BookStore_08/src/peng/
Used java packages are located under BookStore_JavaWeb/BookStore_08/WebContent/WEB-INF/lib/
Using Apache Tomcat 6.0.39
- download code of folder Bookstore_08. Import it as a project in your eclipse workspace.
- initialize your database somewhere with the database.sql statement. modify /BookStore_08/conf/c3p0-config.xml to configure your database ip and password.
- create a tomcat server, run BookStore_08/WebContent/index.jsp on server