2.0 DEVELOPING SERVLETS

DFW5013

Get Started. It's Free
or sign up with your email address
Rocket clouds
2.0 DEVELOPING SERVLETS by Mind Map: 2.0 DEVELOPING SERVLETS

1. Client HTTP Request

1.1. Header

1.1.1. Accept

1.1.2. Authorization

1.1.3. Connection

1.1.4. Cookie

1.1.5. Host

1.1.6. Referer

1.2. Method

1.2.1. Enumeration getAttributeNames()

1.2.2. HttpSession getSession()

1.2.3. Object getAttribute(String name)

1.2.4. String getContextPath()

1.2.5. int getContentLength()

2. Validating Data

2.1. Types of data validation include:

2.1.1. Code validation

2.1.2. Data type validation

2.1.3. Data range validation

2.1.4. Constraint validation

2.1.5. Structured validation

3. HTTP response header

3.1. Standard headers :

3.1.1. Age

3.1.2. Connection

3.1.3. Date

3.1.4. Link

3.1.5. Location

3.1.6. Server

3.1.7. Upgrade

3.1.8. Warning

3.2. Non-standard headers :

3.2.1. Content-Security-Policy

3.2.2. Refresh

3.2.3. X-Powered-By

3.2.4. X-Request-ID

3.2.5. X-UA-Compatible

3.2.6. X-XSS-Protection

4. Servlet Mapping

4.1. web.xml file

4.1.1. <servlet-name>

4.1.2. <url-pattern>.<servlet-name>