Home > Web Front-end > Front-end Q&A > What is JSP? What is html?

What is JSP? What is html?

青灯夜游
Release: 2021-10-12 17:06:00
Original
3791 people have browsed it

JSP is a dynamic web page technology standard created by Sun Microsystems; JSP technology uses Java language as a scripting language to provide services for users' HTTP requests. HTML is the description language of the WWW. It is a markup language that uses tags to describe the structure and presentation of documents.

What is JSP? What is html?

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

What is JSP?

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

JSP embeds Java code and specific changes into static pages, using the static pages as templates to dynamically generate part of the content. JSP introduces XML tags called "JSP actions" to call built-in functions. Alternatively, you can create JSP tag libraries and then use them just like standard HTML or XML tags. Tag libraries enhance functionality and server performance without being limited by cross-platform issues. JSP files are converted into more primitive Servlet code by their compiler at runtime. The JSP compiler can compile the JSP file into a Servlet written in Java code, and then the Java compiler can compile it into binary machine code that can be executed quickly, or it can be directly compiled into binary code.

What is html?

HTML (Hypertext Markup Language), Hypertext Markup Language, is the description language of the WWW. It includes a series of tags. These tags can unify the document format on the network and connect scattered Internet resources into a logical whole. HTML text is descriptive text composed of HTML commands. HTML commands can describe text, graphics, animations, sounds, tables, links, etc.

So what does hypertext mean? Hypertext: Pages can contain pictures, links, and even non-text elements such as music and programs. Let’s recall what the role of HTML is in the project. 1. What is certain without thinking is its display function. 2. For any element on the page, we can use JS to make some animation changes to it, whether it is a change in display or a link to other places. In other words, the elements in HTML can be imagined as a portal. With just a click of the mouse, we may get more relevant content. Okay, now imagine that an HTML page is a node, connected to two HTML pages through some kind of trigger. In this way, tens of thousands of HTML pages constitute our World Wide Web.

The main difference between JSP and html

1. HTML runs on the client and is interpreted and executed by the browser; JSP runs on the server. The web container is required to provide a running environment.

2. HTML focuses on static data display and generates static web pages; JSP focuses on interacting with the server and is mainly developed with dynamic web pages.

3. HTML loads faster than JSP.

For more programming related knowledge, please visit: Programming Video! !

The above is the detailed content of What is JSP? What is html?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template