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

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


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