There is a requirement that I have to work on.
There is one multiselect list box for products. Each product might have different models.
On multiple selection of the products, i have to populate the models dropdown.
Is there any way to implement this.
An elegant way to solve your problem would be to use Ajax. After selecting the products, you can call a servlet asynchronously which holds the logic that simply returns the list of models for those products. Along with the html tags, the formatted result would display a models dropdown for selected products.