After much scanning of the user-list archive I have seen some mentions
of a problem with tomcat 4.1 and the <logic:iterate> tag.
I have also seen mentions of Tomcat 4.1.12 working fine with the logic
tag. Does a problem exist?
 
I am getting the following error, my code matches the example code in
the <logic> taglib guide, so I am out of ideas on what is wrong.
 
ERROR:
cannot resolve symbol symbol : variable myMessage
 
Code in JSP:
<%
      SessionUtility su = new SessionUtility();
      ArrayList messages = 
(ArrayList) su.getAttribute(session, HomeConstants.MESSAGE_ARRAY);
%>
 
<table>
<TR>
   <TD> 
<!--  Begin Display of Messages     -->               
            
<%= messages.size() %>
            
<logic:iterate id="myMessage" collection="<%=messages%>">
<%= myMessage.getSubject() %>
</logic:iterate>
 
If I remove the logic tag completely the messages.size() tells me that I
have two 
Objects in the array list, so I know the information is in there I just
can't get to it.
 
I have also tried this with the type="com.mysystem.bo.bean.Message" set
as well, still
It does not work.
 
Any Ideas?
 
Thank you for your help,
Mark 


Reply via email to