title: Issue with Struts 2 Dispatcher Result
body: <p>We are using Struts 2 Dispatcher Result to forward our request to some jsp page.</p>
  
  <p>In struts.xml</p>
  
  <pre><code>&lt;action name="sampleAction"
              class="com.mycomp.action.sampleAction"&gt;
  
              &lt;result name="success" type="dispatcher"&gt;
              &lt;param name="location"&gt;/jsp/success.jsp&lt;/param&gt;
              &lt;/result&gt;
              &lt;result name="error"&gt;/jsp/error.jsp&lt;/result&gt;
              &lt;result name="input"&gt;/jsp/input.jsp&lt;/result&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>Now we are able to see <code>success.jsp</code> but the request attributes we set are becoming null in </p>
  
  <pre><code>success.jsp
  </code></pre>
  
  <p>We used dispatcher because we need the same request to be forwarded so that the request attributes we set can be retrieved in success.jsp But it is not happening and we are getting nulls instead.</p>
  
  <p>Is there anything which needs to be taken care?</p>
  
  <p>Thank you
  Chaitanya</p>