| Author |
drop downs
|
Anil Verghese
Ranch Hand
Joined: Oct 11, 2006
Posts: 155
|
|
hii guyzz.. I 'v got two drop downs in my jsp page, when this page is loaded first loaded the first drop down must be populated and when the user selects something the second must be filled... how can i do this using struts, i did it by adding my jdbc connection code in my jsp page itself is there a way to do it in a pure mvc2 way...
|
 |
RoshaniG Gopal
Ranch Hand
Joined: May 15, 2006
Posts: 180
|
|
Hi Anil, You may use Ajax for the same. You will find plenty of examples for the same. It is one typical case for Ajax application.
|
Regards,<br />Roshani
|
 |
Mattia Merenda
Ranch Hand
Joined: Dec 14, 2006
Posts: 47
|
|
Hi Anil, I had your same problems. In this link there is a topic that I posted and it should help for your first problem. The second link should help for the second drop down list. http://www.coderanch.com/t/55333/Struts/html-select-html-options http://www.coderanch.com/t/55440/Struts/Value-returned-select-tag
|
 |
Mattia Merenda
Ranch Hand
Joined: Dec 14, 2006
Posts: 47
|
|
Hi Anil, I had your same problems. In this link there is a topic that I posted and it should help for your first problem. The second link should help for the second drop down list. http://www.coderanch.com/t/55333/Struts/html-select-html-options http://www.coderanch.com/t/55440/Struts/Value-returned-select-tag
|
 |
Brent Sterling
Ranch Hand
Joined: Feb 08, 2006
Posts: 948
|
|
Also see this current thread: http://www.coderanch.com/t/55460/Struts/Shoud-window-location-replace-Struts - Brent
|
 |
 |
|
|
subject: drop downs
|
|
|