08.17 "JSP"--html+css+js+jsp+servlet+oracle Simple Project Practice

Source: Internet
Author: User

16, 17th, two days, the end of the JSP learning, began the project of practical learning

The first step is to add the simplest

In this, the link to the database, the indirect expansion of the JDBC Review, in which the database and the teacher gave the textbook does not match, so the time to pause in the link data is very long, in the change over and over ORA-12505 error no results, The most stupid way to reinstall an Oracle database, naming it with the same name as the teacher, resolves the database link failure problem.

The second step is to find the operation

With the first process, this speed is a bit faster, while you are familiar with the process while completing the find operation, and are familiar with the process of data flow, from page-to-servlet-to-service------------ Output back. And in the servlet to determine whether to error, in order to output the wrong page or result

The third step is to delete the operation

When doing the delete operation, because there is less than one input tag in the JSP page (the tag is to determine the value of the action and invoke different functions in the servlet), so for a long time you have not been able to solve the problem, This side reflects the unfamiliar process and the ambiguity of the role of space, is the future need to strengthen the place

The fourth step is to modify the operation

In the modification operation, you can already know the approximate process, you can take the initiative to write code, not only can see the teacher's code to recall the code process. At the same time, the modification operation is required to query one of the operations, so you need to write two methods in DAO, servlet and service, respectively, to find 1 rows of data, and update operations.

08.17 "JSP"--html+css+js+jsp+servlet+oracle Simple Project Practice

Related Article

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.