Re: struts help using logic:iterate

2004-01-06 Thread ngonqua
Hien, Thank you for replying to my message. I will try this way. Since I'm new on Struts, I thought there would be some other tag other than logic:iterate tag to do the trick. Btw, I'm running weblogic 7.0 sp4. Do you know if it supports JSTL? If you make your Item class returns an Error

struts help using logic:iterate

2004-01-05 Thread ngonqua
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

Re: struts help using logic:iterate

2004-01-05 Thread Hien Q Nguyen
If you make your Item class returns an Error object, you can avoid the errorCodeList, something like this: public class Item { private int id=0; private MyError error; /** * @return Returns the error. */ public MyError getError() {