title: struts2: display result jsp in the main/calling jsp
body: <p>I have a one <code>main jsp</code> (file upload jsp screen) which has form elements.
  User will select the file to upload, also set some other elements (such as checkboxes, radios, etc.) as per the requirement and then finally submit the form.</p>
  
  <p>After uploading the result of the process is formulated into a table of a different JSP (say <code>result.jsp</code>). Right now the result.jsp is displayed independently on the screen.</p>
  
  <p>What I want is to <strong>display the result.jsp in the same parent.jsp</strong> (having form elements) and not on a separate independent page. </p>
  
  <p>Can anyone help me with this?</p>
  
  <p>struts.xml:</p>
  
  <pre><code>&lt;action name="commonDataImportAction_*" class="commonDataImportAction"&gt;
          &lt;result name="VIEW"&gt;
              /jsp/CommonDataImportLog.jsp (result.jsp)
          &lt;/result&gt;
          &lt;result name="input"&gt;/jsp/CommonDataImport.jsp (parent.jsp)
          &lt;/result&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>Update:</p>
  
  <p>Screenshot of the screen, how I want it:</p>
  
  <p><a href="http://img802.imageshack.us/img802/7141/screenzgk.jpg" rel="nofollow noreferrer">http://img802.imageshack.us/img802/7141/screenzgk.jpg</a></p>