Load servlet at startup package com.ack.web.servlet; import javax.servlet.http.HttpServlet; /** * earlyriser com.ack.web.servlet.LoadServletAtStartup 7 This servlet has a load-at-startup priority of 7, meaning any servlet with a load priority lower than 7 will be loaded before this one, and those greater than 7 after. if a load-at-startup priority is not specified, for example , the servlet engine chooses when */ public class LoadServletAtStartup extends HttpServlet { public void init() { System.out.println( getServletName() + ": initialised" ); } }