]
This is a more complete servlet, JSP tutorial, contains a lot of practical information and examples, Cactus Studio portrait recommended. A total of 13 chapters, including: Servlet and JSP features, installation and configuration development, operating environment, form data processing, HTTP request headers, Response status processing, access to CGI variables, session state, JSP script elements, instructions, actions, and so on. See the table of contents for details.
Directory
Author: Cactus Studio
Directory
Overview of Servlet and JSP
1.1 Javaservlet and its characteristics
1.2 JSP and its characteristics
Second, the establishment of development, operating environment
2.1 Installing the servlet and JSP development tools
2.2 Installing a Web server that supports servlet
Third, the first servlet
3.1 servlet Basic structure
3.2 Simple servlet for output plain text
3.2.1 Helloworld.java
Compilation and installation of the 3.2.2 Servlet
3.2.3 Run servlet
3.3 Servlet for output HTML
3.4 Several HTML tool functions
Iv. Processing of form data
4.1 Overview of form data
4.2 Instance: Reading three form variables
4.3 instance: outputting all the form data
V. Read HTTP request headers
5.1 HTTP Request Headers overview
5.2 Read the request header in the servlet
5.3 Instance: output all Request headers
Vi. Accessing CGI variables
6.1 CGI Variable overview
servlet equivalence representation of 6.2 standard CGI variables
6.3 Instance: Reading CGI variables
Vii. HTTP response Status
7.1 Status Code Overview
7.2 Setting the status code
7.3 HTTP1.1 State Code and its implication
7.4 Example: access to multiple search engines
Eight, set the HTTP answer header
8.1 HTTP Answer Header overview
8.2 Common answer headers and their implications
8.3 instance: Automatically refresh page when content changes
Nine, processing cookies
9.1 Cookie Overview
Cookie API for 9.2 servlet
9.2.1 Create cookies
9.2.2 Read and Set cookie properties
9.2.3 set cookies in the answer header
9.2.4 read cookies saved to the client
9.3 Several cookie tool functions
9.3.1 Gets the cookie value of the specified name
9.3.2 automatically saved cookies
9.4 Examples: Custom search engine Interface ten, session state
10.1 Session State Overview
10.2 Session State Tracking API
10.2.1 View the Session object for the current request
10.2.2 View and session-related information
10.2.3 save data in a Session object
10.3 instance: displaying session information
Xi. Overview of JSP and grammar
11.1 Overview
11.2 JSP Syntax Overview table
11.3 About template text (static HTML)
12. Script elements, directives, and predefined variables
12.1 JSP SCRIPT Element
12.1.1 JSP expression
12.1.2 JSP Scriptlet
12.1.3 JSP Declaration
12.2 JSP directives
12.2.1 page directive
12.2.2 include directives
12.3 Examples: Application of script elements and directives
12.4 JSP Predefined variables
13, JSP action
13.1 Jsp:include Action
13.2 Jsp:usebean Action
13.3 further notes on the Jsp:usebean
13.4 Jsp:setproperty Action
13.5 Jsp:getproperty Action
13.6 Jsp:forward Action
13.7 Jsp:plugin Action
Appendix: JSP Annotations and character reference conventions
Note: Source: Servlets and JavaServer Pages
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.