Difference between ${requestScope} and ${pageContext.request}
来源:互联网 发布:手机注册淘宝店铺流程 编辑:程序博客网 时间:2024/03/29 08:48
1. ${requestScope} is used to get some variable which was set by request.setAttribute().
2. ${pageContext.request} is used to get some attribute of the request object, for example, ${pageContext.request.method} is to get the method type of the request, it equals to the java code "request.getMethod()", there are several methods exist in the HttpServletRequest object.
3. you can't use ${requestScope.contextPath} to get the contextPath value, you can only use ${pageContext.request.contextPath} to get this value.
- Difference between ${requestScope} and ${pageContext.request}
- difference between work bench request and customizing request
- jsp:EL之$(pageContext.request.contextPath)和$(requestScope.contextPath)区别
- The difference between (()) and ().
- difference between "<" and "<<"
- the difference between request.getParameter()&request.getAttribute()
- Difference Between typedef and #define
- Difference between PCDATA and CDATA
- Difference between CComPtr and CComQIPtr
- Difference between RVCT and GCCE
- Difference between RVCT and GCCE
- difference between slist and list.
- difference between stack and heap
- Difference between replace and translate
- Difference between PrintWriter and PrintStream
- difference between Cookie and Session
- Difference Between Buffer and Cache
- Difference between Statement and preparedStatement
- 在BIOS中开启vt-x无效的解决方法
- 很讨厌专业英语
- 从硬盘安装Fedora12
- jQuery对select操作
- 浅谈对OneNAND的认识
- Difference between ${requestScope} and ${pageContext.request}
- suse安装Joomla
- 通用数据库操作辅助类DbHelper
- 验证视图状态 MAC 失败解决方法
- printf重定向输出到文件
- 从数据库中读取经纬度,在google map 上进行标注(二)
- 转自某Q群某Q友发言 -- 2010.09.18
- struts分页
- opengl入门教程(2)