Interface method
Javax.servlet
Filter Dofilter (Re,rs,filterchain chain)
Filterchain
RequestDispatcher forward () include ()
Servlet init () service () Destroy ()
ServletContext (ServletContext) GetContext () getinitparamter ("ParamName") Getrealpath (/index.jsp)
ServletConfig (ServletContext) Getservletcontext ()
ServletRequest
Servletresponse
javax.servlet.http
HttpServletRequest extends ServletRequest Getcontextpath (), Getservletpath (), Getrequestdispatch (a.jsp). ForWord (Re, RS), getsession ()
HttpServletResponse extends Servletresponse sendredirect ()
HttpSession
Cookies
javax.servlet.jsp
Jspwrite
PageContext getrequest () GetResponse () Getservletcontext () Getservletconfig () () getsession ()
JSP nine objects
ServletConfig The config config object is used by the JSP engine to pass information to a servlet when it is initialized. This information includes the parameters to be used for servlet initialization (consisting of property names and property values) and information about the server (by passing a ServletContext object)
The servletcontext application Application object realizes the sharing of data among users, and can hold global variables. It starts at the start of the server until the server shuts down, Compared to the session object, the Application object is all customer shares
jspwrite out jsp output stream
pagecontext pageContext This image provides access to all objects and namespaces within a JSP page, which means that it can access the session on which this page resides. You can also take a property value of the application on this page
HttpSession session is a client-server session that starts with a webapplication from the client to the server until the client disconnects from the server  &NBSP
HttpRequest request Client's request is encapsulated in this object to obtain form submission parameters, after the end of the request, variable invalidation
HttpResponse response in response to client requests, the server passes the text message to the browser
object page
Exception