Request;
Abstruct string getattribute (string name) {}// return the attribute value of the specified name
Abstract void setattribute (string name, object) {}// Replace the value
Abstract enumeration getattributenames () {}// obtain the names of all attributes
Abstract string getcharacterencoding (){}//
Abstract int getcontentlength (){}//
Abstract string getcontenttype (){}//
Abstract string getparameter (string name) {}// gets the value of the given parameter name
Abstract emumeration getparameternames () {}// obtain the parameter names of all current requests
Public abstract string [] getparametervalues (string name) {}// retrieve all values of the specified parameter name
Public abstract cookie [] getcookies () {}// obtain all the cookies that can be found in the current request
Abstract httpsession getsession () {}// gets the session bound to the current request, and creates
Abstract string getquerystring () {}// obtain the URL request string
Chinese garbled characters: String STR = request. getparameter ("chineseword"); byte B [] = Str. getbytes ("ISO-8859-1"); STR = new string (B );
Response;
Abstract string getcharacterencoding (){}
Abstract void addcookie (cookie ){}
Abstract string encodingredirect (string URL ){}
Abstract string encodingurl ()[}
Abstract void senderror (INT code, string message ){}
Abstract void sendredirect (string URL) {}// redirect
Out;
Print ();
Println ();
Newline ();
Flush ();
Close ();
Clearbuffer ();
Clear ();
Getbuffersize ();
Isautoflush ();
Getremaining ();
Session
Void setattribute (string name, object Value ){}
Object getattribute (string name ){}
String GETID (){}
Application;
Config;
Pagecontext.
Page.
Exception;
Cookie;