Hi, You can do this But it will prove costly when for each and every change in the dropdown value you make s server call(+DB Call)
Its better that at the first instance get all this data a populate it in a JavaScript Array. You should be able to identify from your DB design which Tables will contain Static Application Data and Dynamic App data. -----Original Message----- From: R.Vijayaraghavan [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 1:01 PM To: user@struts.apache.org Subject: fill combo box based onClick of previous combo box Hello, I have an application where I have 3-4 combo boxes. After selecting a particular value from the first combo box, the second combo box should be filled with values from the database. Likewise for other combo boxes. How can this be implemented in Struts. Will this be feasible: Call form.submit on combo box's onClick, then get the value in Action, go to the Model, get the corrosponding values, fill the form bean in Action class and open the same page. regards, vijay. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]