in struts application I have a jsp page where I have dropdown list. a query against a db is done according to the selection. My question is I want to display the result of the query in the same page where the dropdwon list is and i want the selected value (from the list) to apper in the dropdown box when the result page is displayed. how do I do this? thanks
posted 12 years ago
I'm not quite sure what you're trying to say here but if you have your list box and drop-down box with seperate properties assigned to them in your form-bean can't you just reload that jsp after you've done your query and set the values into the drop-down box property?