The full name of JSP is Java Server Pages, and the Chinese name is java server page. It is a dynamic web page technology standard initiated by Sun Microsystems and established by many companies. JSP technology is somewhat similar to ASP technology. It inserts Java program segments (Scriptlet) and JSP tags (tags) into traditional web page HTML files (*.htm, *.html) to form JSP files (*.jsp).
Web applications developed with JSP are cross-platform and can run under Linux as well as other operating systems.
JSP technology uses the Java programming language to write XML-like tags and scriptlets to encapsulate the processing logic for generating dynamic web pages. Web pages can also access the application logic of resources that exist on the server through tags and scriptlets. JSP separates web page logic from web page design and display, supports reusable component-based design, and makes the development of web-based applications quick and easy.
When the Web server encounters a request to access a JSP web page, it first executes the program segment, and then returns the execution result to the client together with the HTML code in the JSP file. The inserted Java program segments can operate databases, redirect web pages, etc., to achieve the functions required to create dynamic web pages.
JSP, like Java 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.
The last version of the JSP 1.0 specification was launched in September 1999, and the 1.1 specification was launched in December. The newer one at present is the JSP1.2 specification, and the draft for comments on the JSP2.0 specification has also been released.
JSP implements the java extension in Html syntax (in the form of <%, %>); its page consists of HTML code and Java code embedded in it. The server processes these Java codes after the page is requested by the client, and then returns the generated HTML page to the client's browser.
Java Servlet is the technical foundation of JSP, and the development of large-scale Web applications requires the cooperation of Java Servlet and JSP to complete. JSP has all the characteristics of Java technology that are simple and easy to use, completely object-oriented, platform-independent, safe and reliable, and mainly oriented to the Internet.
The above is the detailed content of What is the full name of jsp. For more information, please follow other related articles on the PHP Chinese website!