Clarifying the understanding: what is the difference between JSP and JavaScript

Source: Internet
Author: User
Tags object model
javascript|js| Difference

First, the JavaScript was invented by Netscape, submitted to the ECMA Organization for standardization, JavaScript in constant revision, from 1.0 to 1.1, 1.2, 1.3, 1.5, and ECMAScript is also constantly upgrading, there are edition 1, 2, 3, where edition 3 is the equivalent of JavaScript 1.5. Although Ms was later involved in standardization, it was NS-led. Edition 4, currently being developed, will also be developed in collaboration with the JavaScript 2.0 being developed by Netscape. By the way, JScript documents are bad before Windows Script 5.6 (which contains JScript, VBScript, and Windows host Script compilers) because MS is only copying and not copying. In my JavaScript hidden secret, I also pointed out bugs in several implementations of MS's JScript (inconsistent with the ECMAScript standard).

JavaScript also has a few other implementations, such as many of Apache's projects, such as the resin JSP implementation of JS 1.3 (similar to JScript for ASP). Note JSP is just a Server scripting language specification, and there is no provision must use Java, in fact there are many JSP engine support additional scripting language, especially support JS majority.

The DOM and JScript are separate. The same is not the same with the consortium DOM and DHTML. Prior to IE 5, JScript supported only MS-proprietary DHTML (NS also had its own proprietary DHTML for the NN series, and Ms was mimicking it), but the DOM (Document Object model) was the standard set by the consortium, not MS! So far, it's still Mozilla ( Netscape has the best support for DOM (supporting all DOM Level 1 and most DOM Level 2 features), IE 6 only supports the vast majority of DOM Level 1 and minimal DOM level 2 features.

Simply put, a JSP programmer must be a Java programmer. And one that can write JavaScript is not necessarily! hehe

Javascrip is only a part of the Java language extracted from the winter, in the Web page with JavaScript this thing is very bad, preferably not.



Related Article

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.