JavaWeb (three): JSP

JavaServer Page JSP is the abbreviation, that is, the server page.

I. Overview

Why use JSP 1.1

 

1.2 Operating principle

 

Second, create a JSP

2.1 understand the file structure

 

2.2 implicit variables

 

Script 2.3 - Java code in JSP (not recommended)

 

2.4 Instruction

 

2.4.1 Class introduced

 

2.4.2 modify page properties

 

2.4.3 include other JSP

 

2.4.4 contains the tag library

 

2.5 using <jsp> tag

 

Third, the use of JSP new ways - in conjunction with Servlet and JSP

3.1 Forwarding and Redirection

 

3.2 to forward the request to the JSP Servlet

 

四, EL

 

 

 

 

Five, JSTL

 

 

Sixth, write custom labels and library

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/aidata/p/11980665.html