1.Jsp is a short written by Java Server Pages.
2. WEB applications developed with JSP are cross-platform.
3.jsp technology is an extension of servlet technology. Servlet is a platform-independent, 100% pure Java Java server component.
4. Here is a simple JSP page:
page of the rest of the content. Body> html>
5. The following is a simple comparison of JSP and other similar or related technologies:
1) .jsp and Active Server Pages (ASP) Compared to Microsoft ASPs are similar technologies. JSP and ASP have the advantages of two aspects. First, the dynamic part is written in Java, not the VB Script or other Microsoft language, not only more powerful and easier to use. Second, JSP applications can be ported to other operating systems and non-Microsoft web servers.
2) .jsp and pure servlet compared to JSP does not increase any functionality that cannot be implemented in nature. However, writing static HTML in JSP is more convenient, do not have to use the PrintLn statement to output each line HTML code. More importantly, with the separation of the content and appearance, the task of different nature in the page can be conveniently separated: For example, the page design expert is HTML design, and the space for the servlet programmer is inserted into the dynamic content.
3) .jsp and server-side include (Server-Side Include, SSI) compared to SSI is a technology that is widely supported in static HTML introducing external code. JSP support is more perfect in this regard because it can generate dynamic content with servlet instead of independent programs. In addition, SSI is actually only used in simple containers, rather than facing "real" programs that can handle form data and access databases.
4) .jsp and JavaScript can dynamically generate HTML in the client than JavaScript. Although JavaScript is useful, it can only handle dynamic information based on the client environment. In addition to cookies, HTTP status and form submission data are unavailable for JavaScript. In addition, JavaScript cannot access server-end resources, such as databases, directory information, and more.