What is JSP?
The full name of JSP is Java Server Pages, and the Chinese name is java server page. It is basically a simplified Servlet design. It is a dynamic initiative initiated by Sun Microsystems and established by many companies. Web technology standards.
JSP technology is somewhat similar to ASP technology. It inserts Java program segments (Scriptlet) and JSP tags into traditional web page HTML (a subset of standard universal markup language) files (*.htm, *.html) (tag), thus forming a JSP file with the suffix (*.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.
What foundation is needed to learn jsp?
To learn jsp, you need to first learn html, css, javascript, XML and other knowledge, then learn java, and finally you can start learning jsp.
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!