Some servlets must be started before the client’s first request to avoid the start up time for the first time. For this we have to configure it in DD file.
<load-on-startup>5<load-on-startup>
This positive integer indicates in which order the servlets will start if there is load on startup for more than one servlets.
No comments:
Post a Comment