title: The content of element type “struts-config” must match “(datasource?,form-beans?
body: <p>I wrote a small struts application with a login page and registration page.
  If I login I get a success page. If i register, i will check the password and confirm password fileds if they match i get a success page else failure page. </p>
  
  <p>I did not use any database. I wrote the required Form Beans, Action Classes of those.</p>
  
  <p>In <code>struts-config.xml</code> it is showing an error at the <code>&lt;struts-config&gt;</code> tag:</p>
  
  <blockquote>
    <p>"The content of element type “struts-config” must match
    “(datasource?,form-beans?,global-forwards?,action-mapping?)"</p>
  </blockquote>
  
  <p>How to resolve this problem? I am using Eclipse as my IDE.</p>