struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From steve hazelwood <shaz...@yahoo.co.uk>
Subject collection of strings (newbie question)
Date Tue, 09 Mar 2004 13:44:31 GMT
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message