Learn jsp from scratch
0.0.1
Copyright 2008 ding dong
Old cainiao ding dong
If you have any questions or suggestions about this document, please send an email or leave a message.
QQ: 475784337
QQ: 51239192
MSN: lingirl6@hotmail.com
Email: lingirl6@hotmail.com
2008-02-28 20:05:06
-
- Preface
-
-
- 1. A friend who wants to use JSP as a website can see it.
- 2. Prerequisites
- 3. Java environment Configuration
-
- 3.1. Install JDK
- 3.2. Configure the Tomcat server
-
- 1. Start compiling JSP
-
-
- 1.1. The first JSP
- 1.2. B/S structure, request and response
-
- 2. Let JSP say hello
-
-
- 2.1. Another simple JSP
- 2.2. Chinese garbled characters
-
- 2.2.1. Solve the garbled characters in the response first
- 2.2.2. Post garbled characters
- 2.2.3. Get garbled characters
-
- 3. Redirect and forward requests
-
-
- 3.1. Example
- 3.2 If forward is used
- 3.3. If redirect is used
- 3.4. Forward and redirect Problems
-
- 3.4.1. absolute and relative paths
-
- 3.4.1.1. Relative Path
- 3.4.1.2. absolute path
- 3.4.2. Forward: The image cannot be found.
-
- 4. Four Scopes
-
-
- 4.1. Scope
- 4.2. Example: online list
-
- 5. Implement crud with JavaBean
-
-
- 5.1. Concepts and naming methods
- 5.2. Read)
- 5.3. Create (create)
- 5.4. Update (update)
- 5.5. Delete (delete)
- 5.6. Operate the database with JDBC
-
- 6. Stay close to Servlet
-
-
- 6.1. What is Servlet?
- 6.2. Relationship between JSP and Servlet
- 6.3. Use servlet to rewrite the contact book
-
- 7. filter requests
-
-
- 7.1. Batch Set Request Encoding
- 7.2. Use filter to control user access
- 7.3. Filter features
-
- 7.3.1. Request ing
- 7.3.2. Filter chain
-
- 8. Configure the listener
-
-
- 8.1. Use httpsessionlistener
- 8.2. Use httpsessionbindinglistener
-
- 9. encapsulate the taglib component
-
-
- 9.1. Use taglib to implement Loops
- 9.2. About jstl
-
- 10. Integrated Electronic Message Board
-
-
- 10.1. E-message board User Guide
- 10.2. Database Design
- 10.3. Functional Design
-
- 10.3.1. User Management
- 10.3.2. Topic reply Management
- 10.3.3. display the online user list
- 10.4. Summary
-
- 11. File Upload
-
-
- 11.1. Remote Network Disk
- 11.2. browser settings
-
- 12. Export files
-
-
- 12.1. Image Verification Code
- 12.2. Image verification code-JSP version
-
- 13. Never Ending...
-
-
- 13.1 useless discussion on the generation of sessions
-
- A. Modify logs