logic:iterate - Because you havent included the <%@ taglib 
uri="/WEB-INF/struts-logic.tld" prefix="logic" %> page directive in the current jsp 
page

Slightly embarrassingly, I found the answer to my question in the archives. 

The only thing that makes me look less crap is that I must have read over a hundred 
messages all about logic:iterate


On Mon, 18 February 2002, Adam Hardy wrote:

> 
> A question about the logic:iterate tag. I'm having problems getting the JSP to 
>compile, tomcat tells me it can't find the bean that I named in the id of the 
>iterator tag. 
> 
> This is my tag:
> 
> <logic:iterate id="idata" name="questionset" property="list">
> 
> So tomcat can't find bean "idata" in scope null and throws an exception. 
> 
> Going through the struts docs, I can't see what my problem is. I've created an array 
>of objects, put it in a bean and put the bean in the request with the attribute tag 
>"questionset". 
> 
> The bean has the getter method "list" which returns the array of objects. This 
>works, I've debugged it with a scriptlet in the JSP.
> 
> Can anyone say what I'm doing wrong? Thanks
> Adam
> 
> 
> 
> Find the best deals on the web at AltaVista Shopping!
> http://www.shopping.altavista.com
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com

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

Reply via email to