Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Java [игнор отключен] [закрыт для гостей] / <load-on-startup> / 3 сообщений из 3, страница 1 из 1
26.04.2006, 11:13
    #33690929
oson
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
<load-on-startup>
А могут 2 сервлета в одном web.xml иметь <load-on-startup>1</load-on-startup> ?
...
Рейтинг: 0 / 0
26.04.2006, 11:37
    #33691032
коты
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
<load-on-startup>
да

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.

Used in: servlet

(с) сервлет спецс 2.3 dtd
...
Рейтинг: 0 / 0
27.04.2006, 16:10
    #33695032
oson
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
<load-on-startup>
спасибо
...
Рейтинг: 0 / 0
Форумы / Java [игнор отключен] [закрыт для гостей] / <load-on-startup> / 3 сообщений из 3, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]