另外一个重要的问题就是,获取页面B的内容是在一个单独的请求中,这样就没有办法从A页面中传递任何的请求范围(request-scoped)数据,在这样的目的使用request范围的变量非常方便,也是很常用的。
基于28个网页-相关网页
Com.ibm.faces.trace.IGNORE_REQUEST_SCOPE false When set to true, excludes all request-scoped objects from the trace.
IGNORE_REQUEST_SCOPE假当该值设置为真时,从追踪中会排除所有会话范围内的对象。
Listing 5 demonstrates how you might prepare a collection of courses in your request-scoped backing bean using native JSF.
清单5展示了如何使用本地J SF在作用域为该请求的支持bean中准备一个课程集合。
The ODRs will route the incoming HTTP requests in an “application scoped” fashion to any target server capable of servicing the request.
ODR 将以 “应用程序为作用域” 把传入的 HTTP 请求路由到任何能够处理请求的目标服务器中。
应用推荐