2016-9-5

Source: Internet
Author: User

One: The heavy difficulty breakthrough

1. Rendering of front-end views, Modlemap and Modelandview

2. Data type clear: Java data type and database data type (mysql)

3.spring MVC mechanism to learn! How are parameters passed to the controller method?

4. Log in to the business logic:

Start the Web project, access the login interface, if you click on the form Submit button to the Logincheck page, the page form parameters are bound to the Controller method, and the data record in the database to do the match.

If there is no matching user name and password, then a view! is returned  If there is a matching user name and password, locate the user, update the user information, and set the user's session! Page jumps to the new page!

5. Configuration file: Spring Profile Web Project Profile SPRINGMVC configuration file

What is the entire running flow of the 6.web project?

7. Database Engine: Some support transactions, some do not support transactions Oh! This need to understand the next Oh!

8. Note the formal parameters of the Controller method: Modelmap Oh!

9.velocity Dynamic Data binding This piece also needs a good experience under Oh!

Two: Adjustment

A function in 1.js is also an object whose constructor is function ()!

2. The function can be called before the declaration!

3. Function explicit parameters are listed when the function is defined. Function implicit arguments are passed to the function's true value when the function is called.

Three: Problems encountered by the project!

1. Why does the search for news sort not work? What's the situation? Oh, yes!

A: Because the service method is to find the latest and with thumbnails of the news Oh!

2. <a> Label The default behavior is to add the inside of the East underline Oh! Got it!

3. When editing the text, you can't use .... Ellipsis, the front-end interface layout when the default is so many ellipsis is a word oh, so a row will be wrapped.

IV: References

1.http://jinnianshilongnian.iteye.com/blog/1594806

2016-9-5

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.