title: eclipse dynamic web project - default start page
body: <p>I created in Eclipse dynamic web project, I have index.html in WEB-INF folder.  I click on the main folder of the project Run as > Run on server chose Tomcat v7.0, finish, and it runs OK. But, when I rename index.html to another name I get the message:</p>
  
  <blockquote>
    <p>The requested resource (/MyProject/) is not available.</p>
  </blockquote>
  
  <ol>
  <li>How can I change the default page   ?</li>
  <li>can I put in default page asp file  ? </li>
  </ol>
  
  <p>My web.xml is:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"&gt;
    &lt;display-name&gt;MyFirstServlet&lt;/display-name&gt;
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
    &lt;servlet&gt;
      &lt;description&gt;new&lt;/description&gt;
      &lt;display-name&gt;GrettingServlet&lt;/display-name&gt;
      &lt;servlet-name&gt;GrettingServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;GrettingServlet&lt;/servlet-class&gt;
    &lt;/servlet&gt;
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;GrettingServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/GrettingServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  &lt;/web-app&gt;
  </code></pre>