title: WARNING: JSF1091: No mime type could be found for file QcFormDean.jsp, but wait its a jsf file
body: <p>I just added jstl-1.2.jar, JSF api, and impl jars to my library so that this could work on my jsf xhtml file.</p>
  
  <pre><code>&lt;h:selectOneMenu value="#{qcFormBean.dliStickerValue}"&gt;
      &lt;f:selectItem itemValue="P" itemLabel="Pass or Not applicable" /&gt;
      &lt;f:selectItem itemValue="M" itemLabel="FAIL-Mechanical" /&gt;
      &lt;f:selectItem itemValue="E" itemLabel="FAIL-Electrical" /&gt;
      &lt;f:selectItem itemValue="C" itemLabel="FAIL-Cosmetic" /&gt;
      &lt;f:selectItem itemValue="S" itemLabel="FAIL-Software" /&gt;
      &lt;f:ajax event="change" execute="@this" render="perfbyDliSticker" /&gt;
  &lt;/h:selectOneMenu&gt;
  
  &lt;h:panelGroup id="perfbyDliSticker"&gt;
      &lt;h:selectOneMenu value="#{qcFormBean.performedByRoleID}"
                       rendered="#{!qcFormBean.dliStickerValue eq  'P'}"&gt;
          &lt;f:selectItem itemValue="A" itemLabel="Always" /&gt;                
          &lt;f:selectItem itemValue="O" itemLabel="Often" /&gt;
          &lt;f:selectItem itemValue="S" itemLabel="Seldom" /&gt;                
      &lt;/h:selectOneMenu&gt;
  &lt;/h:panelGroup&gt;
  </code></pre>
  
  <p>Now when i try to access the page on IE i get a <em>404</em> missing error and i get the following error on Tomcat and i am not sure what to do at this point the error mentions it as a jsp file and i know i am making this as a jsf file so i am not sure what to do.</p>
  
  <blockquote>
    <p>Feb 05, 2014 3:05:50 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource
    WARNING: JSF1064: Unable to find or serve resource, /preQcFormDean.xhtml.</p>
    
    <p>Feb 05, 2014 3:05:50 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource WARNING: JSF1064: Unable to find or serve resource, /preQcFormDean.view.xml.</p>
    
    <p>Feb 05, 2014 3:05:50 PM com.sun.faces.context.ExternalContextImpl getMimeType
    WARNING: JSF1091: No mime type could be found for file /preQcFormDean.jsp.  To resolve this, add a mime-type mapping to the applications web.xml.</p>
  </blockquote>
  
  <p>and this is my web.xml file.</p>
  
  <pre><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"                                        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee                                                  http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" 
           version="3.0"&gt;
  
      &lt;servlet&gt;
          &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.jsf&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
      &lt;context-param&gt;
          &lt;param-name&gt;javax.faces.PROJECT_STAGE&lt;/param-name&gt;
          &lt;param-value&gt;Development&lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;context-param&gt;
          &lt;description&gt;State saving method: 'client' or 'server' (default). See JSF   Specification section 2.5.2&lt;/description&gt;
          &lt;param-name&gt;javax.faces.STATE_SAVING_METHOD&lt;/param-name&gt;
          &lt;param-value&gt;client&lt;/param-value&gt;
      &lt;/context-param&gt;
  
      &lt;welcome-file-list&gt;
          &lt;welcome-file&gt;index.jsf&lt;/welcome-file&gt;
          &lt;welcome-file&gt;welcome.jsf&lt;/welcome-file&gt;
          &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
          &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>and here are the jar files in the lib folder</p>
  
  <pre><code>javax.faces.jar 
  jsf-api.jar 
  jstl-1.2.jar 
  jsf-impl.jar
  </code></pre>