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)
);