title: submit and load the same form using struts2
body: <p>I've a test.jsp  which includes an html.using the following tag</p>
  
  <pre><code>&lt;s:form action="showTrainingPage"&gt;
  &lt;s:include value="%{objBarcodeCertificationTaskForm.strTrainingPage}"&gt;&lt;/include&gt; 
  &lt;s:submit type="image" src="../../images/next.png"/&gt;
  &lt;/s:form&gt;
  </code></pre>
  
  <p>The value is developed dynamically in action. </p>
  
  <pre><code>&lt;action name="showTrainingPage" method="getTrainingDetails" class="certificationTask"&gt;
              &lt;result name="input" &gt;test.jsp&lt;/result&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>But this does not help. When i click on Next, it says the requested source is not available. Please let me know how can this be solved.</p>