当前位置:首页 > 开发 > 系统架构 > 架构 > 正文

Restricting the Number of Views in a Session

发表于: 2013-10-22   作者:sunjing   来源:转载   浏览次数:
JSF
摘要:       <context-param>        <param-name>com.sun.faces.numberOfViewsInSession</param-name>      

 

    <context-param>
        <param-name>com.sun.faces.numberOfViewsInSession</param-name>
        <param-value>15</param-value>
    </context-param>

    <context-param>
        <param-name>com.sun.faces.numberOfLogicalViews</param-name>
        <param-value>15</param-value>
    </context-param>

   (com.sun.faces.config.WebConfiguration)

 

By default, a total of 15 top-level views are allowed to exist in a session. Likewise, a total of 15 logical views are also allowed in session. Logical views are subviews of a top-level view. For example, if you have a page that includes multiple frames then each frame is a logical view.

If you have a simple application then the default of 15 views or 15 logical views might be too large. In this case, you should consider reducing the allowable number of views and logical views to conserve memory. Conversely, a more complex application might require more than 15 views or logical views to be saved in a session.

Restricting the Number of Views in a Session

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
This post covers to use ElasticSearch-Hadoop to read data from Hadoop system and index that i
Defining Shadows and Clipping Views This lesson teaches you to Assign Elevation to Your Views
Class-based generic views 基于类的通用视图 Ø 简介&对比 在django1.3之前视图是基于函数[function
I've said before how surprised I am that more ASP.NET Web Forms developers don't use Routing
原文描述: The Microsoft SQL Server 2005 System Views Map shows the key system views included
Views,URLconf的advanced用法 之前有介绍了一些views和路径匹配的基础用法,在这里介绍一些关于它们
在django里,写一个视图通常分三步走 1 写逻辑 views.py 2 写url,让客户可以在浏览器中访问 3 写 t
这节课分为两部分,一部分是Calculator的Demo,一部分是Views。 Demo的演示包括下面内容: 1、可编
Custom Table Views 提供多种自定义列表样式,甚至可以在列表上加入多个控件,可自定义列表的单元格
Views Because view objects are the main way your application interacts with the user, they ha
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号