You may want to check out the JSTL tags to see if any of them can help you do the logical things you need to do. A Struts-only solution for this doesn't exist obviously. Most of your work will depend on where the information comes from.
you can also store DropDownItem in 1 array for each dropdown, each next DropDownItem would be like a data table containing a key to the previous one. store each DropDownItem in a session attribute (or you can put all 5 or 6 arrays of objects in 1 wrapper object). your struts Action class then do look ups (possibly using a helper method) against these arrays and return to the request ONLY collections of relevant dropdowns for use with your <html ptions> tags.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
posted 15 years ago
Thanks for all your suggestions.
Any help on this will be very very appreciated.
Thanks a bunch Achal
It looks like it's time for me to write you a reality check! Or maybe a tiny ad!