Web project design and development--dbhelper

Source: Internet
Author: User

The study of Web project design and development is mainly based on the development of Web programs in the last semester to add a thought and a deeper understanding.  

before learning, we need to download the relevant software--myeclipse and configuration file jdk, Tomcat. Add the rest of the Tomcat and JDK except for the Tomcat and JDK that MyEclipse comes with.  

This time the study content is related with the dbhelper. The specific contents are:

I. Preparation of procedures    

1. Create an item project  

2. Build the DBHelper package in the SRC directory and write out the Dbhelper-class file

3. Write the JSP file: Modify the login page in the original index.jsp file, and then create a new file named login.jsp in which to write the relevant SQL statement and Judgment statement

4. Add a link configuration file

Second, the operation of the program

Click Index.jsp to run, jump out of the page for the login page, enter the database user name and password, enter the correct login is successful;

Third, modify the code and test

When the code appears incorrectly and the page is displayed incorrectly, you should check and test more.

Experience: The most important thing in learning program development is the multi-knock code. Learning a language is not to hold a book to see on the line, with the actual more than a dozen code to see the code of others to learn and communicate, do not understand the question to ask classmates and teachers, in the classroom time to understand the practice of teacher teaching, the classroom more practice.

Web project design and development--dbhelper

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.