这个数字是说在这个webapp加载的时候加载类的顺序
0是第一个,然后递增如果你有一个类要在一启动就加载就可以把这个数字设置最小
0是第一个,然后递增如果你有一个类要在一启动就加载就可以把这个数字设置最小
解决方案 »
- 关于Struts2中struts.xml配置的问题,具体请看正文
- itext 表格 页眉问题
- FCKeditor整合出现问题 谁可以帮帮忙
- eclipse发布项目的问题
- 我在class中加入name=new String(name.getBytes("ISO8859-1"),"GBK");但是数据库显示的都是问号,怎么办?
- 怎样用Struts 在三个页面传值
- 请问正则表达式中的问题
- 关于ServletException的问题
- 支持JSP 2.0、Struts 1.1、ASP.Net 1.1的虚拟主机
- 请教arraylist的用法
- 在jsp中使用javabean的问题?
- 做一个报表,有人说用[ Jreport ]可做,代码怎么写
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 ed with lower integers are loaded before servlets ed with higher integers. The container may choose the order of loading of servlets with the same load-on-start-up value.