Today I learnedJsp (preferred for SUN Enterprise applications). What is an object?In object-oriented programming, an object is a variable composed of operations and data as a complete object.
Objects are based on specific models. In objects, customers use object services to access object data through interfaces of a set of methods or related functions, then the client can call these methods to perform certain operations.
Jsp (preferred for SUN Enterprise applications)The following built-in objects are available:Request,Response,Out,Session,Pagecontext,Application,Config,Page.
◆Request [Request]Object
RequestThe object is used to accept all information in all requests sent from the browser to your server.
AndRequestIsHttpServletRequestClass. PassGetParameterMethod.RequestParameter, throughGET,POST,HEADAnd other methods.RequestType, throughCookies,RefererAnd so on.HTTPHeader.
◆Response [Response]Object
ResponseAn object is used to send data to the client browser. You can use this object to send server data to the client browser.
AndResponseIsHttpServletResponseClass.
◆OutObject
OutThe object is used to output data to the client.
◆Session [Work]Object
SessionObjects are used to save information for each user separately, so as to track the user's