Posted By:
sambasivarao_damerla
Posted On:
Saturday, April 24, 2004 03:08 AM
Hi all, Is it prossible ArrayList in ActionFrom like String, int etc.. If can, someone plz give a sample jsp page for this my conscept is as follows 1) I have an ArryaList contains UserBean objects. Each UserBean contains three String varibles like name, location and PhoneNo. 2) My ActionFrom lets say UserBeansFrom conatains the Variable ArrayList userBeansList; 3) There was a ActionClass called GetUserBeansAction which job is retrive all the user and sore in the bean objes and each bean object was added to a local ArrayList variable lets say "userList". 4) After this, GetUserBeansAct
More>>
Hi all,
Is it prossible ArrayList in ActionFrom like String, int etc..
If can, someone plz give a sample jsp page for this
my conscept is as follows
1) I have an ArryaList contains UserBean objects. Each
UserBean contains three String varibles like name,
location and PhoneNo.
2) My ActionFrom lets say UserBeansFrom conatains the
Variable ArrayList userBeansList;
3) There was a ActionClass called GetUserBeansAction which
job is retrive all the user and sore in the bean objes
and each bean object was added to a local ArrayList
variable lets say "userList".
4) After this, GetUserBeansAction class will create an
object of UserBeansFrom and assing the local ArrayList
object "userList" to the UserBeansFrom's ArrayList.
5) Once it Succesfully set all these things its action
forwads, then it has to use the UserBeansFrom whos
ArrayList was already setted has to how the things in the JSP file
Can any one plz answer me.
Thanks in advance,
sambadamerla
<<Less