码迷,mamicode.com
首页 > Web开发 > 详细

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

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

标签:style   io   os   ar   数据   sp   on   c   ad   

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表达式的内置对象

标签:style   io   os   ar   数据   sp   on   c   ad   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!