pageContext.setAttribute的使用场合 由于页面间跳转以后,pageScope域失效,所以,关于pageContext.setAttribute和pageContext.getAttribute的使用(pagecontext作用域是pageScope) 如a.jsp跳转到b.jsp,在a.jsp中必须有: <%@include file="/b.jsp" %> 这样的话,两个jsp其实是同一个页面,同页面之间的跳转没问题 诸葛