title: Parsing error processing resource path jndi:/localhost/StrutsDataExport/WEB-INF/struts-config.xml
body: <p>Hi i get the following exception while starting the server <code>tomcat 6.0</code></p>
  
  <pre><code>SEVERE: Parsing error processing resource path jndi:/localhost/StrutsDataExport/WEB-INF/struts-config.xml
  org.xml.sax.SAXParseException: Content is not allowed in trailing section.
  </code></pre>
  
  <p>this is what is my <code>struts-config.xml</code></p>
  
  <p>`</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
            "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd"&gt;
  
  &lt;struts-config&gt;
      &lt;form-beans&gt;
          &lt;form-bean name="UserForm" type="com.report.UserForm" /&gt;
      &lt;/form-beans&gt;
  
      &lt;global-exceptions&gt;
  
      &lt;/global-exceptions&gt;
  
      &lt;global-forwards&gt;
          &lt;forward name="welcome" path="/Welcome.htm" /&gt;
      &lt;/global-forwards&gt;
  
      &lt;action-mappings&gt;
          &lt;action input="/" name="UserForm" path="/userAction" scope="session"
              type="com.report.UserAction"&gt;
              &lt;forward name="success" path="/user.jsp" /&gt;
          &lt;/action&gt;
          &lt;action path="/Welcome" forward="/welcomeStruts.jsp"/&gt;
      &lt;/action-mappings&gt;
  
      &lt;controller processorClass="org.apache.struts.tiles.TilesRequestProcessor" /&gt;
  
      &lt;message-resources parameter="com/report/ApplicationResource" /&gt;
  
  
      &lt;plug-in className="org.apache.struts.tiles.TilesPlugin"&gt;
          &lt;set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" /&gt;
          &lt;set-property property="moduleAware" value="true" /&gt;
      &lt;/plug-in&gt;
  
      &lt;!--
          ========================= Validator plugin
          =================================
      --&gt;
      &lt;plug-in className="org.apache.struts.validator.ValidatorPlugIn"&gt;
          &lt;set-property property="pathnames"
              value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" /&gt;
      &lt;/plug-in&gt;
  
  &lt;/struts-config&gt;
      --&gt;
  `
  </code></pre>
  
  <p>I get the exception saying that i have a problem in struts-config file but i am unable to find, that is why i get the above exception while deploying, i am using netbeans IDE,Please help me to resolve this</p>
  
  <p>Regards</p>