1.out:向客户端输出数据,字节流。
out.print(" ");
2.request: 接受客户端的http请求
getParamenter(String name);name表示表单的参数名
getParamenterValues(String name);使用得到的是String[ ]
getAttribute(String name,Object obj);设置名字为name的obj,值为obj
getAttribute(String name);返回由name指定的属性值,如果不存在返回null
getCookie ();
3.response :封装JSP产生的回应
addCookie(Cookie cookie);
sendRedirect("Welcome.jsp");
4.session :用于保存用户的信息,跟踪用户的行为
setAttribute(String name,Object obj);
getAttribute(String name);
5.application:多个用户共享该对象,可以做计算器
6.pageContext:表示jsp页面的上下文
7.exeception :代表运行时的一个异常
getMessage();
8.page:代表jsp这个实例本身(使用较少)
9.config:代表jsp对应的servlet的配置,可以得到web.xml中的参数