Re: How to iterate a bean's list of String in a JSP

2004-04-30 Thread Irfandhy Franciscus
Hi try adding this method in your ActionForm: public String getToto(int i) { return (String)toto.get(i); } The struts logic:iterate will automatically pass in an index value to the method in order to get the object inside the Array. Hope this works Francois Boccou wrote: Hello, I have

How to iterate a bean's list of String in a JSP

2004-04-30 Thread Francois Boccou
Hello, I have a problem displaying on my jsp pages a list of String that is part of my bean. Here is my bean: myBean { ArrayList toto; //of type String } here is my JSP: + This doesn't work, I miss something but I can't find what, someone would give me a tip ? Name is a required property