Current location - Recipe Complete Network - Complete cookbook of home-style dishes - What is jsp and what does it do?
What is jsp and what does it do?
JSP is the technical standard of dynamic web pages created by Sun Microsystems.

What is usually returned to the client is an HTML text, so the client can browse it as long as it has a browser. JSP technology uses Java programming language to write XML-like tags and scriptlets, and encapsulates the processing logic of generating dynamic web pages.

When someone requests a JSP, the server will convert the dynamic resource (JSP) to the static resource (HTML), and the server will automatically help us splice the HTML fragments and data in the JSP into static resources to respond to the browser. In other words, JSP runs on the server side, but what is finally sent to the client is the converted HTML static page (in the response body). The server did not send the JSP file to the browser.

Extended data:

It can simply and efficiently add dynamic web content in a templated way. JavaBean and tag library technology can be used to reuse commonly used functional codes.

The tag library not only has universal built-in tags (JSTL), but also supports custom tags with extensible functions. Have good tool support. Inherited the relative ease of use of Java language.

Baidu encyclopedia -JSP