What foundation is needed to learn jsp?
To learn jsp, you need to first learn html, css, and javascript, then learn java, and then learn jsp.
JSP (java server page)
The full name of JSP is Java Server Pages. The Chinese name is java server page. It is basically a simplified Servlet design. It[ 1] It is a dynamic web page technology standard initiated by Sun Microsystems and established with the participation of 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 (a subset of standard universal markup language) files (*.htm, *.html) to form JSP file, the suffix is (*.jsp). Web applications developed with JSP are cross-platform and can run under Linux as well as other operating systems.
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 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 the display of web page design, supports reusable component-based design, and makes the development of web-based applications quick and easy. JSP (JavaServer Pages) is a dynamic page technology, its main purpose is to separate the presentation logic from Servlet.
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.
Related recommendations: "Java Tutorial"
The above is the detailed content of What foundation is needed to learn jsp?. For more information, please follow other related articles on the PHP Chinese website!