JSP11个用于EL表达式的内置对象

JSP内置对象9个:request

                                                 对象                                          常用方法

request getAttribute()setAttribute()getParameter()getParameterNames()getParameterVaules()
session getAttrubute()setAttribute()getId()
response                                                       --
Application getAttribute()setAttribute()getMimeType()getRealPath()
page                                                        --
pageContext getAttribute()setAttribute()findAttribute()getAttributesScope()getAttributeNamesInScope()
out clear()  clearBuffer() flash() getBufferSize() getRamining()
config getInitParameter()getInitParamNames()
exception getMessage()getLocalizedMessage()toString() PrintStackTrack()

,session,response,Application,page,PageContext,out,config,exception

四个数据存储对象:requestScpoe,sessionScope,ApplicationScope,cookie

用EL表达式隐含对象11个:PageContext,PageScope,Param,ParamValues,header,headerValues,initParam,requestScope,sessionScope,

ApplicationScope,cookie

posted on 2014-09-15 15:13  Up to Up  阅读(324)  评论(0)    收藏  举报

导航