pass data to JSP from Servlet using Java Bean
807601Jun 18 2008 — edited Jun 18 2008So I have a simple form containing 3 parameters in a JSP page. The form submits to a java servlet where it takes those parameters and uses them to access a database. The end result is an arraylist of Strings stored in the Servlet and a Java Bean. Now based on this data, I want the original JSP page to update itself with a <SELECT> box [multiple] containing the values in that ArrayList. I do not want the page to refresh, I want it to dynamically update. Any ideas? How do i access that data without resfreshing the page. I assume if i use <jsp: usbean etc> that only runs once when the page is visited, not AFTER the form is submitted.