title: Directing via an Action to the same JSP page currently loaded, reloading the user's input Data Struts 2
body: <p>I currently have a JSP Page with a form in it. </p>
  
  <p>On submission of this form I want to reload this same page with the form being populated with the user input values before the form was submitted. 
  The Search results will then be outputted on the page.</p>
  
  <p>I have successfully got the search results to output on the page but would like some advice on how to keep the input values in the form elements on page reload.</p>
  
  <p>I did load the search results via the struts 2 Ajax library however if there was a validation error the ajax request would return the full jsp page itself, rather than the search results, as on error the page should reload itself displaying the action errors. As a result I have abandoned using Ajax for loading the search results.</p>