首页 > Web开发 > 详细

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

时间:2014-09-15 15:54:49      阅读:351      评论:0      收藏:0      [点我收藏+]

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

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

原文:http://www.cnblogs.com/candyboys/p/3972871.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!