First, for many Java Web beginners difficult to get started, the author uses a small Web project, a step-by-step demonstration of the Java Web development approach, each chapter introduces some key knowledge of Java Web development, so that students can be Java Web Development knowledge points in series together, Learn to use it comprehensively.
For beginners, the code example is the best textbook, may not understand, read a few more times, relevant knowledge points, if this tutorial is clear, please own Baidu related knowledge, or consult mentorship.
The technology stack used in this project is:
0. Simple HTML page, no CSS, heavy in revealing servlet and database access tips
1.servlet
2.jsp (not writing scripts in JSP, but using el,jstl expressions), the current recommended practice
3. Access to the database using Dbutils (a simple JDBC package), open source China uses this technology to do the database access layer.
4. The database uses Oracle
Two. Basic Project requirements:
A simple online bookstore project, divided into the background of the site and the front desk:
(1) Backstage function: Administrator login backstage can be added book classification, book information.
(2) Front desk function: Ordinary users in the website registration login, you can browse the various categories under the book information, add shopping cart, simulated payment orders.
Basic poor students can step by step follow the author to do this example, experience the principle of Java Web development, for the future three framework learning lay the foundation, improve the learning of Java Web development information.
Three. Some notes of the project:
1. Background Administrator Login
2. Login successful, show background management Main Page
3. New Category
.
4. Category List View
5. New Books
6. List of books
7. Front Page
8. Front-Desk User registration
9. Front-Desk User Login
10. View Shopping Cart
11 User Orders
12 Payment Order
13. Code
Java Web easy Online Bookstore Project series, using the MVC pattern (servlet+jstl+dbutils), opening