What is JSP technology?

Source: Internet
Author: User
Tags reference tomcat
JS JavaServer pages (JSP) technology provides a quick and easy way to create WEB pages that display dynamically generated content. The industry's leading Sun company has developed the relevant JSP specification, which defines how to interact between servers and JSP pages, and describes the format and syntax of the page.
How is JSP technology working?

JSP pages encapsulate the logic of generating page content using XML tags and scriptlets, a scripting code written in the Java language. It passes the tags (HTML or XML) of various formats directly back to the response page. In this way, the JSP page realizes the separation between the page logic and its design and display.

JSP technology is part of the Java family of technologies. JSP pages are compiled into Servlets and may invoke JavaBeans components (beans) or Enterprise JavaBeans components (Enterprise Beans) for processing on the server side. As a result, JSP technology plays an important role in building upgradeable web-based applications.

JSP pages are not limited to any particular platform or Web server. JSP specifications in the industry has a wide range of adaptability.
What is a servlet?

In contrast to the applets running on the browser, the servlet is a program that is run on the server and written in the Java language. More information is available to access Http://java.sun.com/products/servlet.
I have adopted the servlets, why do I need JSP technology?

Now that JSP pages are compiled into Servlets, you can theoretically write servlets to support your web-based application. However, JSP technology simplifies the process of creating Web pages by separating the content of the page from the display logic. In many applications, the template content and dynamically generated data are sent to the client. Based on this consideration, using JSP page technology will be much more convenient than using Servlets to write.
Where can I get the latest version of the JSP specification?

The latest JavaServer Pages 2.0 specification can be downloaded from here.
What is the relationship between JSP specification and Java 2 Platform, Enterprise Edition?

The JSP 2.0 specification is an important part of the Java 2 Platform, Enterprise Edition 1.4. The combination of JSP and EJB technology shows great power in building a distributed enterprise application that is based on the Web front-end display.
What Web servers support JSP technology?

There are many JSP technology implementations available for different Web servers. To obtain the latest officially supported Web server information, visit http://java.sun.com/products/jsp/industry.html.
Does Sun provide a reference implementation of the JSP specification?

Java EE SDK is javatm 2 Platform, Enterprise Edition reference implementation. Sun has modified and integrated the Tomcat JSP and Java Servlet implementations in the EE SDK. The Java EE SDK can be used as a development environment before application deployment and publishing.

Tomcat is an implementation of the free and open source Java Servlet and JSP technology, developed by the Jakarta project team of Apache Software Foundation. Can be downloaded from http://jakarta.apache.org. Tomcat's commercial applications require the permission of the Apache Software Foundation (ASF), and can get binaries and source code versions on the Apache Web site. The implementation of JSP technology is part of the Java EE SDK.
What is the difference between JSP technology and other product technologies?

JSP technology is the result of industry collaboration, its design is open, conform to industry standards, and support the vast majority of servers, browsers and related tools. With reusable components and tags instead of a serious reliance on the scripting language of the page itself, JSP technology has greatly accelerated the pace of development. All JSP implementations support scripting languages based on the Java programming language, which are inherently adaptable and support complex operations.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.