![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JavaWeb
窗外有个蓝蓝天
岂能尽如人意,但求无愧于心
展开
-
servlet中如何获得pageContext
1.获取pageContext JspFactory jsp1 = JspFactory.getDefaultFactory(); PageContext pageContext = jsp1.getPageContext(this, request, response, null, true,8192, true);// //this表示本类servlet对象转载 2013-07-06 11:21:58 · 1273 阅读 · 0 评论 -
pageContext.findAttribute()与pageContext.getAttribute()的区别
1、abstract Object findAttribute(String name) Searches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null.转载 2013-07-14 11:04:24 · 805 阅读 · 0 评论