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">
     <bean:write name="myId"/>
</logic:iterate>

Then I get an exception "Cannot find bean myId in any
scope".

I can understand that cos myId is a String not a bean.
What should I use instead of bean:write ?

Steve






___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to