I've got two drop down lists in struts. The value of second one is dependent on first one selected. Basically the first one is type of location(location Group) and the second one is a list of locations based on the type selected. I already have request variables for locations that I can use for second drop down, but the problem is how can I dynamically display locations list based on selection in first drop downlist.
I've got this in my request already
so basically how to display the second drop down based on type selected from LocationGroup Set (which is displayed in first drop down).
I know I can use Ajax, but then my request variables will not be available in AJAX methods.