I am new to
Struts. I need to implement dependent drop down boxes.
I do not want to use Ajax, and hence have decided to get this done using Javascript.
I want to know if in my Javascript function, i can specify the method of the action to be called.
If not, then how do I differentiate between the submit from Javascript(when the 2nd drop box is to be populated), and the form submit(when, based on the 2 selected values of the drop down boxes, a file will be downloaded).
Any suggestions will be appreciated!