request;
abstruct String getAttribute(String name){}//返回指定name的屬性值
abstract void setAttribute(String name,Object object){}//替換值
abstract Enumeration getAttributeNames(){}//擷取所有屬性的名字
abstract String getCharacterEncoding(){}//
abstract int getContentLength(){}//
abstract String getContentType(){}//
abstract String getParameter(String name){}//擷取給定參數名的值
abstract Emumeration getParameterNames(){}//擷取所有當前請求的參數名
public abstract String[] getParameterValues(String name){}//擷取指定參數名的所有值
public abstract Cookie[] getCookies(){}//擷取當前請求中所有能找到的cookie
abstract HttpSession getSession(){}//擷取當前請求綁定的session,沒有就建立一個
abstract String getQueryString(){}//擷取URL請求字串部分
中文亂碼處理:String str = request.getParameter("ChineseWord");byte b[] = str.getBytes("ISO-8859-1");str=new String(b);
response;
abstract String getCharacterEncoding(){}
abstract void addCookie(Cookie cookie){}
abstract String encodingRedirect(String url){}
abstract String encodingURL()[}
abstract void sendError(int code, String message){}
abstract void sendRedirect(String url){}//重新導向
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;