3是什么意思?

dadabenben 2005-06-14 10:11:26
如题,web。xml文件李的一行
...全文
2605 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
tys1105 2005-06-15
  • 打赏
  • 举报
回复
多少秒后载入
Cupid1945 2005-06-15
  • 打赏
  • 举报
回复
<load-on-startup/>:立即载入,<load-on-startup>10</load-on-startup>10毫秒后载入,通过指定值,并且可以按一定的顺序载入。
supersunyi 2005-06-15
  • 打赏
  • 举报
回复
3表示第3个加载,一般1表示第一个加载
rubarck_ln 2005-06-15
  • 打赏
  • 举报
回复
是servlet的加载顺序!!! 数字越小代表加载的优先级越高。
dreamofmoon 2005-06-15
  • 打赏
  • 举报
回复
应该是表示载入的顺序,数值低的必须在数值高的前面载入。下面是英文的完整解释:
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.
zwm1988 2005-06-15
  • 打赏
  • 举报
回复
好像不是几秒后载入吧

81,090

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧