JSP [Java] is completely self-study manual

JSP full name of the Java Server Pages, Chinese named java server pages, which is a fundamental Servlet simplified design, which is advocated by Sun Microsystems, many companies involved in the establishment of a dynamic web technology standards together. JSP technology somewhat similar to ASP, it is a conventional web page HTML (a subset of the Standard Generalized Markup Language) file (* .htm, *. Html) Java insert block (Scriptlet) and JSP tag (Tag), thereby forming JSP files whose names (* .jsp). JSP development using Web applications are cross-platform, both run on Linux, can also run on other operating systems.

For details on the JSP: JSP completely self-manual graphic tutorials - Ali cloud University

It implements the java extension (in <%%> form) the Html syntax. JSP and Servlet, is executed on the server side. Usually returned to the client is an HTML text, so long as the client browser will be able to browse.

JSP technology using the Java programming language based on XML tags and scriptlets, to encapsulate the processing logic generating dynamic pages. Web application logic can access resources exist in the server through tags and scriptlets. JSP pages will be displayed separate logic and web design, support reusable component-based design that becomes quickly and easily develop Web-based applications. JSP (JavaServer Pages) is a dynamic page technology, its main purpose is to represent logic from a Servlet.

Java Servlet JSP technology base, and large-scale development needs of Web applications Java Servlet and JSP support to complete. JSP Java technology with the easy to use, fully object-oriented, with all the characteristics of platform independence and secure, mainly Internet-oriented.

Language Features:

  • advantage
  1. Write once, run everywhere. In addition to the system, do not make any changes to the code.
  2. Multi-platform support. Basically can develop in any environment on all platforms, the system deployed in any environment, extended in any environment. JSP compared to ASP limitations advantage is obvious.
  3. Powerful scalability. From only a small Jar file to run Servlet / JSP, to be a multiple server clustering and load balancing to multiple Application for transaction processing, message handling, one server to many servers, Java shows a giant vitality.
  4. Diverse and powerful development tool support. This is much like the ASP, Java already has many excellent development tools, and many can get free, and many of them can already run successfully under a variety of platforms.
  5. Supports server-side components. web applications require powerful server-side components to support, developers need to use other tools to design components to achieve complex functions for web page calls, in order to enhance system performance. JSP can use sophisticated JAVA BEANS components to achieve complex business functions.
  • Shortcoming
  1. The same with the ASP, Java some of the advantages is its fatal problem. It is because for cross-platform functionality in order to extreme stretching ability, so greatly increased the complexity of the product.
  2. Java class running speed is memory resident to complete, so it is in some cases used memory compared to the number of users is indeed a "minimum cost performance" of the.

Ali cloud developer community fully upgraded, one-stop experience, with more cool :( Ali cloud developer community home page )

Guess you like

Origin blog.csdn.net/lsj960922/article/details/91865585