There are plenty of helpful people around here that are willing to lend a hand with answering questions, but not as many people that are willing to implement full pages for you (especially since all you did was post some code and a few sentences). Can you describe in more detail what you are trying to accomplish? I do not know what "i need to select key value in combo box. based on key i need to print address." really means. Could you also describe what you have tried so far and what specific issues you have encountered?
Joined: Jan 23, 2004
Hi , i need to display address of a customer . for example..... table:
How can i do that in struts? Actually map contains one key and value.
But here it contains one key and multiple values.
Joined: Feb 08, 2006
I see...here are the three basic high-level solutions that I know of.
2) When the selection changes, submit the page and use processing in your action to update the values so the correct address values will be shown when the page refreshes. This might be the easiest solution but the user experience is a bit clunky because the entire page refreshes.
3) Use an Ajax solution to load the address values when the selection changes. This might be a little overkill if you page only has a few values and you are not already using Ajax.