I'm very new to struts so please be kindly. I have two Arraylist call itemList and errorCodeList. The itemList contains list of Item object. The item object has a property calls errorCode which returns an error code in int (1-50). I want to display the error description associates to that error code. How can I pass in the error code to the errorCodeList the get the error description.
Item Error Description -------- ------------------------- item1 description1 item2 description2 item3 description1 . . . .