Date post: | 31-Dec-2015 |
Category: |
Documents |
Upload: | magee-stanley |
View: | 38 times |
Download: | 4 times |
DAT602 Database Application Development
Lecture 17&18 B/S model database application
Here we still use E-Library as our example.We are going to use Netbeans as our IDE.
Database Application Development - Lecture 17&18
Step 1: Add new project.
Database Application Development - Lecture 17&18
Step 1: add new project
Database Application Development - Lecture 17&18
Step 1: Add new projectStructure of new project
Web Pages: pages for websiteLibrary: Java classes, jarsSource packages: source code files
Database Application Development - Lecture 17&18
Step 2: import JDBC driver into this project
Database Application Development - Lecture 17&18
Step 3: Add login page.Login page is for capturing user’s input.
Database Application Development - Lecture 17&18
Step 3: Add login page.
Database Application Development - Lecture 17&18
Step 3: Add login page.
Database Application Development - Lecture 17&18
Step 4: Add page for doing check login.Create a Java bean for providing JDBC connection.
Database Application Development - Lecture 17&18
Step 4: Add page for doing check login.Use Java bean in JSP
Database Application Development - Lecture 17&18
Step 4: Add page for doing check login.Check login business logic
Database Application Development - Lecture 17&18
Database Application Development - Lecture 17&18
Database Application Development - Lecture 17&18
Database Application Development - Lecture 17&18
Database Application Development - Lecture 17&18
Database Application Development - Lecture 17&18
Database Application Development - Lecture 17&18