Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Why is javascript not jsp?

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "why javascript is not jsp", the explanation content in the article is simple and clear, easy to learn and understand, please follow the idea of Xiaobian slowly in-depth, together to study and learn "why javascript is not jsp"!

JavaScript is not jsp, the two are different concepts;JavaScript is a lightweight, interpreted or just-in-time programming language with function precedence, while JSP is a dynamic web technology standard created by Sun Microsystems.

Operating environment of this article: Windows 7 system, Javascript version 1.8.5, Dell G3 computer.

Javascript is jsp?

Javascript is not jsp!

JavaScript (JS) is a lightweight, interpreted or just-in-time programming language with function precedence. Although it is best known as a scripting language for developing Web pages, JavaScript is also used in many non-browser environments. JavaScript is based on prototype programming, a multi-paradigm dynamic scripting language, and supports object-oriented, imperative, declarative, and functional programming paradigms.

JavaScript was first designed and implemented in Netscape Navigator in 1995 by Brendan Eich of Netscape. Because Netscape worked with Sun, Netscape management wanted it to look like Java, hence the name JavaScript. In fact, it is similar to Self and Scheme. [2]

JavaScript is ECMAScript. As of 2012, all browsers fully support ECMAScript 5.1, with older versions supporting at least ECMAScript 3. On June 17, 2015, ECMA International released the sixth edition of ECMAScript, officially known as ECMAScript 2015, but commonly referred to as ECMAScript 6 or ES2015.

JSP (full name JavaServer Pages) is a dynamic web page technology standard created by Sun Microsystems. JSP is deployed on the web server and can respond to requests sent by clients and dynamically generate HTML, XML or other formatted Web pages according to the request content, and then return them to the requester. JSP technology uses Java language as script language to provide services for HTTP requests of users, and can deal with complex business requirements together with other Java programs on the server.

JSP embeds Java code and specific change content into static pages, and dynamically generates part of the content with static pages as templates. JSP introduces XML tags called "JSP actions" to invoke built-in functionality. Alternatively, you can create JSP tag libraries and then use them just as you would standard HTML or XML tags. Tag libraries enhance functionality and server performance, and are not limited by cross-platform issues. JSP files are converted to more primitive Servlet code by their compiler at runtime. JSP compiler can compile JSP files into Servlets written in Java code, and then compiled into binary machine code that can be quickly executed by Java compiler, or directly compiled into binary code.

Thank you for reading, the above is "why javascript is not jsp" content, after the study of this article, I believe we have a deeper understanding of why javascript is not jsp this problem, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report