Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

pass data to JSP from Servlet using Java Bean

807601Jun 18 2008 — edited Jun 18 2008
So 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 16 2008
Added on Jun 18 2008
5 comments
1,051 views