title: Submit a Struts 2 form without changing the page?
body: <p>I have a Struts2 form that is included in a DIV overlay on a page.  When I submit this form I want it to hide/show a hidden text area on the bottom of the form that just lets the user know that the form was submitted.  From there the user could close the overlay and return back to their work.  I'm having a problem accomplishing this.  Upon my Return of a <code>SUCCESS</code> or <code>NONE</code> the page will redirect to a blank page if I do not provide it with another page in the return.  How can I submit the form and stay within the same page without redirecting at all? </p>
  
  <p>Currently I am submitting the form using JavaScript </p>
  
  <pre><code>document.forms['formName'].submit(); 
  </code></pre>
  
  <p>I am using JavaScript as opposed to the <code>&lt;s:submit/&gt;</code> option because there are other parameters that need to be set on the form itself prior to form submission.  </p>