Home  >  Article  >  Java  >  What language is jsp written in?

What language is jsp written in?

青灯夜游
青灯夜游Original
2019-05-31 15:59:3913624browse

What language is jsp written in?

The full name of JSP is Java Server Pages, and its Chinese name is java server page. It is a dynamic web page development technology. It uses JSP tags to insert Java code into HTML web pages; tags usually start with <% and end with %>.

JSP technology is somewhat similar to ASP technology. It uses JSP tags to insert Java program segments (Scriptlets) into traditional web page HTML (a subset of Standard Universal Markup Language) files (*.htm, *.html). , thus forming a JSP file with the suffix (*.jsp). It implements the java extension in Html syntax (in the form of <%, %>).

JSP, like Servlet, is executed on the server side. Usually what is 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 language as the scripting language. JSP web pages provide an interface for the entire server-side Java library unit to serve HTTP applications.

JSP obtains user input data through web forms, accesses databases and other data sources, and then dynamically creates web pages.

JSP tags have a variety of functions, such as accessing databases, recording user selection information, accessing JavaBeans components, etc., and can also transfer control information and shared information in different web pages.

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

Statement:
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