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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。