title: How to deploy Spring 4 web application in Wildfly 8.1
body: <p>I am developing a spring 4 based web applciation, that is divided into two modules; one the service (jar) and the other is the web application. The web war will contain the service jar and other library dependencies within it. The application works as expected when deployed with the Spring tool suite vFabric tc Server. But when the same war is deployed in the Wildfly 8.1, though the application allows to login, on every web page of the app, the validator recieves the <code>target</code> with all the form values empty. Why is that?</p>
  
  <blockquote>
  <pre><code> public void validate(Object target, Errors errors)
  </code></pre>
  </blockquote>
  
  <p>I have the jboss-deployment-structure.xml like the one below</p>
  
  <pre><code>&lt;jboss-deployment-structure&gt;
      &lt;deployment&gt;
         &lt;dependencies&gt;
             &lt;module name="org.slf4j"/&gt;
         &lt;/dependencies&gt;
      &lt;/deployment&gt;
  &lt;/jboss-deployment-structure&gt;
  </code></pre>
  
  <p>Do I need to configure any more information in this?
  I tried to deploy the war by directly copying into the  <code>wildfly-8.1.0.Final\standalone\deployments</code>. Am I missing any configuration?</p>