隨筆-9  評論-168  文章-266  trackbacks-0
          The load-on-startup element indicates that this servlet should be loaded (instantiated and have its init() called) on the startup of the web application. The optional contents of these element must be an integer indicating the order in which the servlet should be loaded. If the value is a negative integer, or the element is not present, the container is free to load the servlet whenever it choosesIf the value is a positive integer or 0, the container must load and initialize the servlet as the application is deployed. The container must guarantee that servlets marked with lower integers are loaded before servlets marked with higher integers. The container may choose the order of loading of servlets with the same load-on-start-up value.

          這個 load-on-startup 元素 在 web 應用啟動的時候指定了servlet被加載的順序,它的值必須是一個整數。如果它的值是一個負整數或是這個元素不存在,那么容器會在該servlet被調用的時候,加載這個servlet 。如果值是正整數或零,容器在配置的時候就加載并初始化這個servlet,容器必須保證值小的先被加載。如果值相等,容器可以自動選擇先加載誰。
          posted on 2008-03-11 09:10 紫蝶∏飛揚↗ 閱讀(452) 評論(0)  編輯  收藏 所屬分類: JSF
          主站蜘蛛池模板: 吴桥县| 将乐县| 顺昌县| 日照市| 宜章县| 鄂尔多斯市| 葫芦岛市| 海阳市| 阳泉市| 绥棱县| 沽源县| 扎赉特旗| 胶南市| 湘阴县| 仁寿县| 绿春县| 沁源县| 兴和县| 孟村| 内丘县| 吉木萨尔县| 饶河县| 湟源县| 西平县| 罗城| 华蓥市| 高邮市| 瓮安县| 友谊县| 万源市| 盐山县| 肥城市| 探索| 新建县| 札达县| 卓资县| 亳州市| 通城县| 正宁县| 鲜城| 崇礼县|