title: Struts2: populating a table (from database) based on selected values from autocompleter fields in the same JSP
body: <p>In my struts2 application, I have a JSP with two autocompleter fields and a submit button. The goal is when I submit, a table should be displayed in the same JSP (below the submit button) which populates data from the database (basing on the selected values of autocompleter). </p>
  
  <p>I think definitely we should call some action(which goes to struts.xml and basing on the result some JSP will be shown). But, the idea is to display table in the same JSP. Can I achieve this by calling some action in a regular way. I am new to struts2 and can anyone help me providing a good solution.</p>