JSP nine Big Object __js

Source: Internet
Author: User


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

Related Article

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.