Refer to this link Struts example there is example given to fill the combo with ajax request. specially see the example3. Code is given in zip file as well.
They have used the ajax you can refer to this.
posted 8 years ago
really thank you for taking your time out..
I have gone through zip file and example no 3 which is there.
Example3GetCharactersAction.java action contains html coding within java. Actually I want to avoid the same. Hence I am putting all possible values in arraylist.Put arraylist as attribute in request and forward to some jsp.
Within jsp I write code..... for showing drop down...hence it becomes good for understanding purpose..
I dont want to put html in action class as I think , if i do that, i am going back to old days of servlet, where we used to do html coding in servlets.....
As mentioned above when I am forwarding request to jsp for showing drop down...currently coding which I am doing is like mentioned below.
but I want to use
I hope you understand , what i want to do..
but i am not sure , is that feasible...
Nothing? Or something? Like this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop