日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

[翻译]load-on-startup 元素的作用

發布時間:2024/10/8 编程问答 56 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [翻译]load-on-startup 元素的作用 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

發表于 @ 2006年08月28日 21:47:00

剛找到load-on-startup的作用,嘗試翻譯一下,鍛煉一下.ps.偶e文好lj地說.e文好的看原文吧,不然你會bs我的.( O_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 chooses. If 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 元素指出這個servlet在web應用程序啟動時將被加載(實例化時將調用它的init()方法).這個可選的元素必須給定一個整數來標記這個servlet被加載的順序.如果這個值是一個負數或者這個元素不存在,容器將自己選擇在空閑的時候加載.如果它的值是一個正數或0,容器在展開(或配置,其實就是啟動時加載web應用.)這個web 應用程序時必須加載和初始化這個servlet.容器必須保證這個servlet 按照給定的整數標記從小到大的順序加載它.如果存在有相同的整數標記時,容器自己選擇加載 load-on-startup 元素值一樣的servlet.(也就是說加載的順序不確定)

轉載于:https://www.cnblogs.com/DeguangLi/archive/2010/05/31/1748405.html

與50位技術專家面對面20年技術見證,附贈技術全景圖

總結

以上是生活随笔為你收集整理的[翻译]load-on-startup 元素的作用的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。