title: How load servlet on index.jsp
body: <p>Is there is any way to call a servlet on <code>index.jsp</code>? My welcome file is <code>index.jsp</code>. I need to populate dropdown list values by a servlet when <code>index.jsp</code> is opened.  </p>
  
  <p>I tried to set <code>&lt;load-on-startup&gt;</code> in <code>web.xml</code>, but it didn't have any effect. How do I get the welcome file <code>index.jsp</code> to call the servlet?</p>