It isn't directly related, but:
>>     public void Messages()
>>     {

should be 
>>     public Messages()
>>     {

I seem to remember something about beans needing to have a public default
construtor to work. If this helps, you may also need public Message() {} in
your other class.

Good luck,
Brett

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 27 November 2001 2:24 PM
To: Struts Users Mailing List
Subject: Re: Problem with Iterating-No getter method for property.......
Any Ideas?


I am still getting the same error.  When I create the bean, I am using

Messages message = new Messages();
session.setAttribute("Messages", messages);

and in the jsp code I now have

<logic:iterate id="messagestag" name="Messages" property="messages" 
scope="session">

Can you see what I am doing wrong?

Thanks for all the help.

Cheers

Tony

Reply via email to