of the selected name. If John is selected, it will be
"1|John", split that content u will get both id and name of selected option.
This is crooked but works fine for small apps.
Hope this helps you.
~Muthu
-Original Message-----
From: kunla [mailto:manish.mnit1...@gmail.com]
Se
creating list in dropdown using struts :
In action class
list.add(new LabelValueBean("ID","Name"));
In Jsp
* Select Item
Select
In Form :
getter and setter for selectedItem.
query : Now I want to retrieve ID and Name both in action class.I am able to
retri
2 matches
Mail list logo