JSP training (1) -- Overview

Source: Internet
Author: User
Tags apache tomcat java se

 

This document is a JSP Training Note and the first training-Overview.

(See Chapter 1st of Java Web programming basics tutorial)

Objective: To understand the concept of JSP, the relationship between JSP and Java, the issues to be solved by JSP, the development process of JSP, and the key technologies of JSP; l master the environment required for JSP operation; l master the basic process of JSP development. 1. What is JSP called "assumerver pages. Page indicates a page. pages have many pages, which means that we need to write a large number of pages to develop JSP applications. Server indicates the server, which means that JSP applications are not supported by the server, but are actually running on the server. There are two types of programs in Java: Application and applet. Applet running mode: usually embedded in a webpage. When a user accesses this webpage, the program is downloaded to a local machine for execution. JSP and Applet run in different ways. jsp runs on the server, but returns the running result to the customer. Java indicates that this technology is based on Java and is actually part of the Java technical system. A simple understanding of JSP: a large number of pages are written in Java and then run on the server. The JSP technology also includes servlet. 2. Relationship between JSP and Java: Java SE (Standard Edition), Java me (embedded edition), and Java EE (Enterprise Edition ). Java EE focuses on services (JNDI, RMI, JMS, JDBC, javamail, JAAS, etc.) and components (Client layer: applet + application web layer: JSP + servlet business layer: EJB ). JSP is a Web component of Java EE, so sometimes JSP is Java Web development. 3. Compile a website for JSP to solve the problem. Details: 1) display information, including static information and dynamic information. Usually in database storage and file storage. 2) maintain the information, modify, delete, and add the information, and send the request to the server for processing through the interface. 3) complex business processing needs to be solved using Java technology. 4) data access. 5) security issues. 6) exception handling. 7) internationalization. 4. The first stage of JSP technology development: Pure JSP technology. The goal is to quickly develop a website and embed Java code into the webpage to complete the website. Example: <HTML>
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.