title: Unable to display Struts2 fieldError
body: <p>I have created the index.jsp which send action request </p>
  
  <pre><code> &lt;meta http-equiv="REFRESH" content="0;url=./radioButton.action"&gt;
  </code></pre>
  
  <p>After completing this the request is forwarded to <strong>radio.jsp</strong>. In this one i am showing country, state list etc.. (so i am <strong>redirecting</strong> for this from <strong>index.jsp</strong>).
  Now <strong>i am imposing validations to this form</strong>. <strong>i have created the .xml correctly</strong> for validation.When the validation fail it will be redirected to ./radioButton.action </p>
  
  <pre><code>  &lt;result name="input" type="redirectAction"&gt;radioButton&lt;/result&gt;
  </code></pre>
  
  <p>I have created one interceptor which extends <strong>MethodFilterInterceptor</strong>, for this to keep the action errors in session scope which having the follow logic in after() method.</p>
  
  <pre><code>if (fieldErrors != null &amp;&amp; fieldErrors.size() &gt; 0)
          {
              Iterator it = fieldErrors.entrySet().iterator();
              while (it.hasNext()) {
                  Map.Entry pairs = (Map.Entry)it.next();
                  System.out.println(pairs.getKey() + " = " + pairs.getValue().toString());
              }
              session.put(FIELD_ERRORS_KEY, fieldErrors);
          }
  
   public static final String FIELD_ERRORS_KEY    = "RedirectMessageInterceptor_FieldErrors";
  </code></pre>
  
  <p>i have configured the interceptor in my .xml as below</p>
  
  <pre><code>&lt;interceptors&gt;
      &lt;interceptor name="redirectMessage"  class="com.daya.message.RedirectMessageInterceptor" /&gt;
  
         &lt;interceptor-stack name="sessionStack"&gt;
          &lt;interceptor-ref name="redirectMessage" /&gt;
              &lt;interceptor-ref name="defaultStack" /&gt;
         &lt;/interceptor-stack&gt;
    &lt;/interceptor-stack&gt;
  &lt;/interceptors&gt;
  </code></pre>
  
  <p>I am getting the <strong>error message on my console befor putting into session scope</strong>. The output printed in console is </p>
  
  <pre><code>userName = [User Name is required to login]
  password = [Password is required to login]
  </code></pre>
  
  <p>I am using the below tag to display the field error</p>
  
  <pre><code>&lt;s:fielderror&gt;&lt;/s:fielderror&gt;
  </code></pre>
  
  <p>But in the jsp after redirect (when validation failed) messages are not getting display.</p>
  
  <p><strong>Client side validation is working well. I disabled javascript for checking server side validation</strong> </p>