I am trying to create a jsp page. Where I am having a select list containing category name and for each category there are products which are taken from a ms access table using a java method getprodlist(number catid) where catid is the category id.the category id is taken by a function called getcatid(String cat) where cat is the category name. I want to populate the field on product_name based on the category name selection on same jsp page such that when someone select a category only the products based on the category would come in the product drop-down list. How can I do that. Please help.