title: Nothing works When i add JSF related tags in web.xml
body: <p>When i add <code>JSF</code> related tags to <em>web.xml</em> nothing is working and it gives an error. If I remove XML tags in <em>web.xml</em> then all .jsp and servlets are working fine. I also added jsf-api.jar,jsf-impl.jar,jstl.jar and standard.jar to lib folder of my project still it is not working so i added these jar files to lib folder in tomcat too but still it is not working.</p>
  
  <p>Error1 with index.xhtml to url:</p>
  
  <blockquote>
    <p>XML Parsing Error: no element found<br>
    Location: <a href="http://www.touchegolfmart.com/index.xhtml" rel="nofollow">http://www.touchegolfmart.com/index.xhtml</a><br>
    Line Number 1, Column 1:</p>
  </blockquote>
  
  <p>Erro2 with out index.xhtml to url</p>
  
  <p>File not found <br/>
  Firefox can't find the file at <a href="http://www.touchegolfmart.com/" rel="nofollow">http://www.touchegolfmart.com/</a>.</p>
  
  <p>my web.xml file is</p>
  
  <hr>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  
     &lt;web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"&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;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;load-on-startup&gt;1&lt;/load-on-startup&gt;
   &lt;/servlet&gt;
   &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt;
   &lt;/servlet-mapping&gt;
   &lt;session-config&gt;
      &lt;session-timeout&gt;
          30
      &lt;/session-timeout&gt;
   &lt;/session-config&gt;
   &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.xhtml&lt;/welcome-file&gt;
     &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>Context path in <code>server.xml</code> in conf folder of tomcat is:</p>
  
  <pre><code> &lt;Host name="touchegolfmart.com" appBase="/home/rathan"&gt;
        &lt;Alias&gt;www.touchegolfmart.com&lt;/Alias&gt; 
        &lt;Context path="" reloadable="true" docBase="public_html" debug="1"/&gt;
       &lt;!-- &lt;Context path="/manager" debug="0" privileged="true"
            docBase="/usr/local/jakarta/tomcat/server/webapps/manager"&gt;
        &lt;/Context&gt;--&gt;
     &lt;/Host&gt;
  </code></pre>
  
  <p>Folder structure is:
  index.jsp<br/>
  WEB-INF/classes<br/>
  WEB-INF/lib<br/>
  WEB-INF/faces-config.xml<br/>
  WEB-INF/web.xml<br/>
  WEB-lib/lib/jsf-api.jar,jsf-impl.jar,jstl.jar,standard.jar.<br/>
  META-INF/context.xml<br/></p>