title: Config servlet in gwt without using web.xml
body: <p>In normal way, we usually config our servlets in web.xml file for gwt application. However, i have a question that is it possible to config these servlets by code without web.xml or other xml configurations?</p>
  
  <p>For example, i want to config servlets inside the warmup servlet configured in the web.xml: </p>
  
  <pre><code>&lt;listener&gt;
      &lt;listener-class&gt;WarmupServlet&lt;/listener-class&gt;
  &lt;/listener&gt;
  </code></pre>
  
  <p>Thank you!</p>