In my JSp page, suppose I have a radio buttons section ("product type") followed by a picklist section ("Product Name"). I want the content of the "product name" be dependent upon "product type", i.e. I want to retrieve the "product name" from database based on what "product type" user picks and then dynamically display them in the picklist after product type is picked. I know if I put a "submit" button right after the "product type" section it should work. But this makes it cumbersome because I will neded several submit buttons if I want the page to be totally dynamically refreshable (one section be dependent on its preceding section(s)). Is there better way to do this without puting "submit" buttons next to EACH component and having to click each one to refresh ?
posted 12 years ago