Struts 2.1.6 Streamlined Instance Series tutorial (5): User Registration Module (integrating jquery)

Source: Internet
Author: User

To learn jquery, of course, first go to its official website: http://jquery.com/, as shown below. In the "Download" Word to download the line, I download here is the latest version of jquery 1.3.2. After the download decompression, in fact, that is, JS file jquery-1.3.2.min.js.

jquery's best learning material is the jquery 1.3 API Reference document in Chinese (pictured below), download address: http://jquery-api-zh-cn.googlecode.com/files/ Jqueryapi-090129.zip. A fairly beautiful API document, written also in detail, have a look at the time, after a while, can be in the properties, methods, events, and so the approximate location and general use of an understanding. When used as a site, can quickly find the need to use and on the line!

Well, the simple introduction to jquery is here, the specific usage, also untold, we go down to use jquery code to explain in detail, but more usage, but also rely on our usual jquery learning and lookup!

To talk about the module we are going to explain in this tutorial--User Login module. The model layer is a fusion of ibatis to develop. For download use of Ibatis, see the Struts 2.1.6 Series tutorial (3): The development of the News management model layer (integration Ibatis).

First in MySQL, create a new user table, the table SQL statement is:

create table user
(
     ID int auto_increment not null primary key,
     LOGIN_NAME varchar(25),
     PASSWORD varchar(25)
);

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.