Lecture 9: Use ajax technology to realize addition, deletion, modification, query and paging display function (jQuery)

The content of this lecture first explains jQuery's support for ajax, respectively explaining methods such as $.post, $.get, $.ajax, the parameters, usage methods and differences of these methods. Finally, an example of the comprehensive application of ajax: add, modify, delete school information, pagination list and other functions on the same page, use html static pages in the front end, use MySQL database, and use servlet technology in the background.

Basic environmental requirements

serial number resource describe
1 Need to download the jQuery plugin ajax technology basics
2 MySQL database and driver need to be installed driver
3 fastjson.jar JSON data format support
4 The jsp project supports the basic jar package jsp development environment
5         tomcat8.5 jsp runtime environment

 Data table structure

CREATE TABLE `college`  (
  `collegeId` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `collegeName` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '学校名称',
  `collegeAddr` varchar(100)

Guess you like

Origin blog.csdn.net/software7503/article/details/131351413