Java Advanced Application Development servlet

Source: Internet
Author: User

Learning Path:

1.Servlet Introduction

2.Servlet Foundation

3. Forms Processing

4. Request header Information

5. Response header Information

6.cookie

7.session

8.scope:

Servlet Context Global Variables

Http Session Variable

Http Servlet Request Variable

9.Filter

Filter is a special servlet whose core function, Dofilter (), is executed automatically when accessing a URL resource, such as solving a character encoding problem

10.Listener

Divided into {Servletcontextlistener,httpsessionlistener,servletrequestlistener} according to scope, such as solving user's online counting problem

11.ResourceAccess

Four ways to invoke the servlet:

1,url;2, Hyperlink; 3, submit form; 4,js Script

How to submit a form:

1,get, the request parameter is displayed in the URL

2,post, Hidden and not limited by size

The difference between forwarding and redirection:

1, the request forwarding address bar is unchanged;

2, request redirect change Address bar URL and do not pass parameters;

Methods for persisting the state of an object:

1,cookie;2,session

Java Advanced Application Development servlet

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.