Redirecting to same page, keep same values in dropdown
posted 6 years ago
Am using struts 1, am having a dropdown in a page. On change of that dropdown value am redirecting to same page.
when its redirecting to same page I want to keep the previous value which I had selected, but its not showing.
Below is the code which I had used.
Where brand and brandList are the attributes in my bean class and productsVO is the bean class which am keeping in request in action class.