i am a bit confused that whether i can able to build user friendly applications using struts 2. Now i need to display a list of details say.
employee_cod | name | address | phone number
01 biny xxx 444
02 xx xxx xxx
how can i do that. is there any tag for displaying things as tables an i also must be able to edit the records on a the click of the row..
you can do this by using logic:iterate Tag of struts custom tags.
By using this tag you can iterate arraylist of plain java objs,each obj having feild you required
i.e. employee_cod | name | address | phone number.
Inside iterate Tag use html:text tag to display values of variable, that is editable due to text tag used.
i am a bit confused that whether i can able to build user friendly applications using struts 2.
Of course you can.
Joined: Apr 12, 2007
i got it . But i dont know wether it is the actual way to do it...