collection of strings (newbie question)

2004-03-09 Thread steve hazelwood
I have an action that creates a bean. That bean has a property myStrings that returns a collection of String objects. On a jsp, I want to list the strings. If my jsp has this: logic:iterate id=myId name=myBean property=myStrings bean:write name=myId/ /logic:iterate Then I get an exception

Re: collection of strings (newbie question)

2004-03-09 Thread Daniel Henrique Alves Lima
Have you import logic taglibs ? steve hazelwood wrote: I have an action that creates a bean. That bean has a property myStrings that returns a collection of String objects. On a jsp, I want to list the strings. If my jsp has this: logic:iterate id=myId name=myBean property=myStrings

Re: collection of strings (newbie question)

2004-03-09 Thread steve hazelwood
Solved, well done. I'm glad I put 'newbie' in the subject line now :-) Thanks, Steve On 9 Mar 2004 at 11:03, Daniel Henrique Alves Lima wrote: Have you import logic taglibs ? steve hazelwood wrote: I have an action that creates a bean. That bean has a property myStrings that returns a

Re: collection of strings (newbie question)

2004-03-09 Thread Daniel H. F. e Silva
Hi all, Other possibility is to check whether 'myBean' exists in some scope. Cheers, Daniel Silva. --- Daniel Henrique Alves Lima [EMAIL PROTECTED] wrote: Have you import logic taglibs ? steve hazelwood wrote: I have an action that creates a bean. That bean has a property