Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

How to make sure a servlet is loaded at the application startup?


<servlet>
	<servlet-name>foo</servlet-name>
	<servlet-class>com.foo.servlets.Foo</servlet-class>
	<load-on-startup>5</load-on-startup>
</servlet> 
Source by www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #How #servlet #loaded #application
ADD COMMENT
Topic
Name
1+8 =