J2EE study notes (2) Javascript discussion

Source: Internet
Author: User
In fact, Javascript is not strictly in the scope of J2EE, but because of its lightweight and fast and powerful client functions, we have to give Javascript three points.
Below are some of my limited javascript experience
1) javascript is mainly used to capture client events, validate data tables, and control page jump orientation. Each item has enough meaning to be mined. I will not mention it here.
2) in terms of verification, it is generally said that the server still needs to perform another test to ensure data consistency and effectiveness (to prevent the client from deliberately disabling the javascript check)
3) Javascript is very powerful, but not omnipotent. For example, in many cases, Javascript cannot be used to return to the previous page (history. back (), the main reason is to prevent repeated submission of forms. In this case, use Action to direct the initialization Action Method to the current page (a typical example is XXXAction. do? Method = initYYY

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.