title: struts 2 field error values not displaying
body: <p>i have override validate method and added errors using
  <code>addFieldError("test", "test print");</code></p>
  
  <p>and in jsp used
  <code>&lt;s:fielderror /&gt;</code></p>
  
  <p>but the errors are not displayed in input.jsp.</p>
  
  <p>Also my jsp content type is
  <code>&lt;%@ page contentType="text/html; charset=UTF-8"%&gt;</code></p>
  
  <p>My struts.xml is like</p>
  
  <pre><code>            &lt;action name="test" class="ListInfo"&gt;
                   &lt;result&gt;/input.jsp&lt;/result&gt;
              &lt;/action&gt;
  
      &lt;action name="Proceed" class="Details"&gt;
      &lt;interceptor-ref name="defaultStack"/&gt;
              &lt;interceptor-ref name="execAndWait"&gt;
                  &lt;param name="delay"&gt;100&lt;/param&gt;
              &lt;/interceptor-ref&gt;
             &lt;result name="wait"&gt;Wait.jsp&lt;/result&gt;
          &lt;result name="success"&gt;/Summary.jsp&lt;/result&gt;
          &lt;result name="input" type="chain"&gt;test&lt;/result&gt;
          &lt;result name="failure" type="chain"&gt;test&lt;/result&gt;
      &lt;/action&gt;
  </code></pre>