From: keerti shrimal [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 20, 2002 4:26 PM
To: Struts Users Mailing List
Subject: problem with logic:iterate while displaying an array of beans.
Hi All,
I am facing a problem displaying a table using logic:iterate tag.
I am using two separate beans in my jsp for displaying different values.
The logic:iterate loop works absolutely fine if I pass just a bean to display the values but when I pass an array of beans, it gives me the following error :Root cause of ServletException
javax.servlet.jsp.JspException: No getter method for property Ranges of bean RangesI will explain in short what i am doing.
I have a jsp NPResult.jsp which has a set of records(right now hard-coded).The user selects a row and depending on that i have to display details of that record in another jsp - NPOrderDetails.jsp. I am passing a hidden value for this through my first jsp.In order to get the details, i am using 2 separate beans (which is hard-coded right now as this is just a prototype).
I am attaching the required files for reference.<<NPOrderDetails.jsp>> <<NPResult.jsp>> <<SearchAction.java>> <<SearchForm.java>> <<Ranges.java>> <<Search.java>> <<struts-config.xml>>
Can anybody please help me out with this problem. I have been trying to figure this out for quite some time.
Thanks and Regards,
Keerti
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited.
***************************************************************************
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>