pageContext这样定义(在jsp页面,下列代码是自动生成的):
JspFactory _jspxFactory = null;
PageContext pageContext = null;
_jspxFactory = JspFactory.getDefaultFactory();
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
JspFactory _jspxFactory = null;
PageContext pageContext = null;
_jspxFactory = JspFactory.getDefaultFactory();
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
解决方案 »
- 请问Hibernate中如何导入一个jdbc.properties?
- 请问jsp调用flex需要用到什么jar包?
- spring管理需要关闭链接
- 深圳程序员的社团,程序员在深圳以QQ群的方式建立,目前已经有5个QQ群超过750人
- 招聘JSP程序员
- jboss4.0配置数据源的问题
- 这个问题很有趣绝对路径下载struts2问题
- 如何实现JSP信息录入页面的信息在数据库中可配置?
- JDK调试问题:"java.lang.NoClassDefFoundError"是什么错误阿
- 请问如何用session对象,保证不同的人登录进去得到的session值不同
- 关于下拉选项select的问题!在线等!
- 有没有人听说过上海群硕软件的啊?有没有人在那边参加过面试的啊?他们主要考哪方面的知识啊?
我用session向action里面传,但怎么得到的是空呀,我是这样写的:
PageContext pageContext = (PageContext) request.getSession().getAttribute(
"pageContext");
而在JSP里我设置了session:
<%session.setAttribute("pageContext",pageContext);%>