<form-bean name="loginForm" type="com.me.LoginForm">
Results.java should map to "type" in the line above.
the ActionForm should be in session scope with that name.
Q
Mehta, Chirag (IT) wrote:
My code is:
<tr> <logic:iterate name = "Results" property="ColumnNames" id="columnName"
<td><bean:write name="columnName"/></td> </logic:iterate> </tr>
Results.java is the name of an ActionForm which has my collections as get and set properties.
This is created using an DataBaseConnect class which is initialised in my Action class.
Hope that helps.
Chirag
-----Original Message-----
From: Adam Levine [mailto:[EMAIL PROTECTED] Sent: 14 August 2003 16:01
To: [EMAIL PROTECTED]
Subject: Re: Dumbo Question
How are you attempting to display and iterate? code snippets help us
find out what's going on....
From: "Mehta, Chirag (IT)" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Dumbo Question Date: Thu, 14 Aug 2003 15:58:48 +0100
Sorry, heres another newbie question.
I have a bean that stores collections of data that have been retrieved from a database.
When I try and logically iterate these collections on my JSP page, it says "Cannot find bean Results in any scope"
But my bean does exist and println its results on my tomcat window?
What am I doing wrong?
Thanks
Chirag
--
NOTICE: If received in error, please destroy and notify sender. Sender
does not waive confidentiality or privilege, and use is prohibited.
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]