RE: Value Object in a Collection
So you in your inner iterate, you actually want to print some properties of each Products value objects? If that's true, you don't need an inner iterate because iterate tag can only work on a collection of objects not properties of a object (you can do this in Javascript not with java). How about something like this: logic:iterate name=ReqDetailForm property=reqCollection indexId=parentIndex id=productVO type=com.valueobject.OrderItemVO TDbean:write name=productVO property=partNo//td %-- define a bean to hold productVO.getProducts(), which would be your Products value object ---% bean:define id=prod name=productVO property=products / td bean:write name=prod property=productName / /td td bean:write name=prod property=quantity / /td td bean:write name=prod property=unitPrice / /td td bean:write name=prod property=total / /td /logic:iterate -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 6:01 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection Both orderItemVO and Products are Value objects. Since orderItemVO is a collection of value objects , it's not a problem to iterate through But the inner value object (products) is not a collection to iterate through which caused the problem. products value object properties are...getters and setters for productName, unitOfPrice, qty, price etc. Similarly orderItemVO contains getters and setters for products(Value Object), orderNumber, shipSerial etc.,... In the Action bean I'm getting the orderItemVO's as a collection from server layer ..and setting it to the form ...same being iterated in JSP... Thanks in Advance! for any help on this. Mahesh! Mei Zhu [EMAIL PROTECTED] wrote:So what does the products value object looks like, and what type of elements do you want to iterate through in the inner iterate? Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:43 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection What you thought was right!! . OrderItemVO contains getters and setters out of which one getter is again a Value Object(products) like OrderItemVO. That is where it is causing problem. If I dont specify the inner loop it is displaying all the properties in products value object, which I don't need except a few properties to display. If the products is a collection then I would have not had any problem, but it is value object and to apply for iterate tag, its looking for collectionbut products value object is not a collectionhere is the problem Any light on thisappreciate your response. mahesh! Mei Zhu wrote:Can you send me the definition of your OrderItemVO? I imagine OrderItemVO has method getPartNo() and getProducts() to get a list of products which you want to print out in your inner loop. If that's the case, in your inner iterate you need to specify property=products. It will help to do one step a time, try to comment out the inner iterate with , if it works ok for the outer iterate, that the problem is from the inner iterate. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:08 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection Following is the correct code implementing in my application..Please advice me...I tried by removing property ...but not working... property=reqCollection indexId=parentIndex id=productVO type=com.valueobject.OrderItemVO indexId=childIndex id=prod Mei Zhu wrote:If your outer iterate loops through a collection of java.util.List, in your inner iterate, you should not specify property attribute. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: Value Object in a Collection Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. property=parentProperty indexId=parentIndex //arbitrary name id=parent //arbitrary name type=java.util.List property=childProperty indexId=childIndex //arbitrary name id=child //arbitrary name type=valueobjectVO // etc. and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you
Re: Value Object in a Collection
Can you use the JSTL tags? David From: neelima mahesh [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Value Object in a Collection Date: Tue, 28 Jan 2003 12:41:44 -0800 (PST) Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. logic:iterate name=parentCollection property=parentProperty indexId=parentIndex //arbitrary name id=parent//arbitrary name type=java.util.List logic:iterate name=parent property=childProperty indexId=childIndex //arbitrary name id=child//arbitrary name type=valueobjectVO bean:write name=child property=_whatever_ / // etc. /logic:iterate /logic:iterate and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Value Object in a Collection
Nope, I use the following... %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % Thanks for ur response and appreciate any help... Mahesh! David Graham [EMAIL PROTECTED] wrote:Can you use the JSTL tags? David From: neelima mahesh Reply-To: Struts Users Mailing List To: [EMAIL PROTECTED] Subject: Value Object in a Collection Date: Tue, 28 Jan 2003 12:41:44 -0800 (PST) Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. property=parentProperty indexId=parentIndex //arbitrary name id=parent //arbitrary name type=java.util.List property=childProperty indexId=childIndex //arbitrary name id=child //arbitrary name type=valueobjectVO // etc. and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: Value Object in a Collection
If your outer iterate loops through a collection of java.util.List, in your inner iterate, you should not specify property attribute. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: Value Object in a Collection Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. logic:iterate name=parentCollection property=parentProperty indexId=parentIndex //arbitrary name id=parent//arbitrary name type=java.util.List logic:iterate name=parent property=childProperty indexId=childIndex //arbitrary name id=child//arbitrary name type=valueobjectVO bean:write name=child property=_whatever_ / // etc. /logic:iterate /logic:iterate and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Value Object in a Collection
Following is the correct code implementing in my application..Please advice me...I tried by removing property ...but not working... logic:iterate name=ReqDetailForm property=reqCollection indexId=parentIndex id=productVO type=com.valueobject.OrderItemVO TDbean:write name=productVO property=partNo//td td logic:iterate name=productVO indexId=childIndex id=prod bean:write name=prod property=productName/ /logic:iterate /TD /logic:iterate Mei Zhu [EMAIL PROTECTED] wrote:If your outer iterate loops through a collection of java.util.List, in your inner iterate, you should not specify property attribute. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: Value Object in a Collection Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. property=parentProperty indexId=parentIndex //arbitrary name id=parent //arbitrary name type=java.util.List property=childProperty indexId=childIndex //arbitrary name id=child //arbitrary name type=valueobjectVO // etc. and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: Value Object in a Collection
Can you send me the definition of your OrderItemVO? I imagine OrderItemVO has method getPartNo() and getProducts() to get a list of products which you want to print out in your inner loop. If that's the case, in your inner iterate you need to specify property=products. It will help to do one step a time, try to comment out the inner iterate with %-- %, if it works ok for the outer iterate, that the problem is from the inner iterate. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:08 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection Following is the correct code implementing in my application..Please advice me...I tried by removing property ...but not working... logic:iterate name=ReqDetailForm property=reqCollection indexId=parentIndex id=productVO type=com.valueobject.OrderItemVO TDbean:write name=productVO property=partNo//td td logic:iterate name=productVO indexId=childIndex id=prod bean:write name=prod property=productName/ /logic:iterate /TD /logic:iterate Mei Zhu [EMAIL PROTECTED] wrote:If your outer iterate loops through a collection of java.util.List, in your inner iterate, you should not specify property attribute. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: Value Object in a Collection Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. property=parentProperty indexId=parentIndex //arbitrary name id=parent //arbitrary name type=java.util.List property=childProperty indexId=childIndex //arbitrary name id=child //arbitrary name type=valueobjectVO // etc. and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Value Object in a Collection
What you thought was right!! . OrderItemVO contains getters and setters out of which one getter is again a Value Object(products) like OrderItemVO. That is where it is causing problem. If I dont specify the inner loop it is displaying all the properties in products value object, which I don't need except a few properties to display. If the products is a collection then I would have not had any problem, but it is value object and to apply for iterate tag, its looking for collectionbut products value object is not a collectionhere is the problem Any light on thisappreciate your response. mahesh! Mei Zhu [EMAIL PROTECTED] wrote:Can you send me the definition of your OrderItemVO? I imagine OrderItemVO has method getPartNo() and getProducts() to get a list of products which you want to print out in your inner loop. If that's the case, in your inner iterate you need to specify property=products. It will help to do one step a time, try to comment out the inner iterate with , if it works ok for the outer iterate, that the problem is from the inner iterate. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:08 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection Following is the correct code implementing in my application..Please advice me...I tried by removing property ...but not working... property=reqCollection indexId=parentIndex id=productVO type=com.valueobject.OrderItemVO indexId=childIndex id=prod Mei Zhu wrote:If your outer iterate loops through a collection of java.util.List, in your inner iterate, you should not specify property attribute. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: Value Object in a Collection Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. property=parentProperty indexId=parentIndex //arbitrary name id=parent //arbitrary name type=java.util.List property=childProperty indexId=childIndex //arbitrary name id=child //arbitrary name type=valueobjectVO // etc. and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: Value Object in a Collection
So what does the products value object looks like, and what type of elements do you want to iterate through in the inner iterate? Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:43 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection What you thought was right!! . OrderItemVO contains getters and setters out of which one getter is again a Value Object(products) like OrderItemVO. That is where it is causing problem. If I dont specify the inner loop it is displaying all the properties in products value object, which I don't need except a few properties to display. If the products is a collection then I would have not had any problem, but it is value object and to apply for iterate tag, its looking for collectionbut products value object is not a collectionhere is the problem Any light on thisappreciate your response. mahesh! Mei Zhu [EMAIL PROTECTED] wrote:Can you send me the definition of your OrderItemVO? I imagine OrderItemVO has method getPartNo() and getProducts() to get a list of products which you want to print out in your inner loop. If that's the case, in your inner iterate you need to specify property=products. It will help to do one step a time, try to comment out the inner iterate with , if it works ok for the outer iterate, that the problem is from the inner iterate. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:08 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection Following is the correct code implementing in my application..Please advice me...I tried by removing property ...but not working... property=reqCollection indexId=parentIndex id=productVO type=com.valueobject.OrderItemVO indexId=childIndex id=prod Mei Zhu wrote:If your outer iterate loops through a collection of java.util.List, in your inner iterate, you should not specify property attribute. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: Value Object in a Collection Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. property=parentProperty indexId=parentIndex //arbitrary name id=parent //arbitrary name type=java.util.List property=childProperty indexId=childIndex //arbitrary name id=child //arbitrary name type=valueobjectVO // etc. and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Value Object in a Collection
Both orderItemVO and Products are Value objects. Since orderItemVO is a collection of value objects , it's not a problem to iterate through But the inner value object (products) is not a collection to iterate through which caused the problem. products value object properties are...getters and setters for productName, unitOfPrice, qty, price etc. Similarly orderItemVO contains getters and setters for products(Value Object), orderNumber, shipSerial etc.,... In the Action bean I'm getting the orderItemVO's as a collection from server layer ..and setting it to the form ...same being iterated in JSP... Thanks in Advance! for any help on this. Mahesh! Mei Zhu [EMAIL PROTECTED] wrote:So what does the products value object looks like, and what type of elements do you want to iterate through in the inner iterate? Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:43 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection What you thought was right!! . OrderItemVO contains getters and setters out of which one getter is again a Value Object(products) like OrderItemVO. That is where it is causing problem. If I dont specify the inner loop it is displaying all the properties in products value object, which I don't need except a few properties to display. If the products is a collection then I would have not had any problem, but it is value object and to apply for iterate tag, its looking for collectionbut products value object is not a collectionhere is the problem Any light on thisappreciate your response. mahesh! Mei Zhu wrote:Can you send me the definition of your OrderItemVO? I imagine OrderItemVO has method getPartNo() and getProducts() to get a list of products which you want to print out in your inner loop. If that's the case, in your inner iterate you need to specify property=products. It will help to do one step a time, try to comment out the inner iterate with , if it works ok for the outer iterate, that the problem is from the inner iterate. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:08 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection Following is the correct code implementing in my application..Please advice me...I tried by removing property ...but not working... property=reqCollection indexId=parentIndex id=productVO type=com.valueobject.OrderItemVO indexId=childIndex id=prod Mei Zhu wrote:If your outer iterate loops through a collection of java.util.List, in your inner iterate, you should not specify property attribute. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: Value Object in a Collection Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. property=parentProperty indexId=parentIndex //arbitrary name id=parent //arbitrary name type=java.util.List property=childProperty indexId=childIndex //arbitrary name id=child //arbitrary name type=valueobjectVO // etc. and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
RE: Value Object in a Collection
Hi, What You need to do is u need to first refer to the attribute of the valueobject which is there in list and then to the attribute of the next value object.See the below code format logic:iterate id=list name=FormBeanName scope=session property=list attribute name in form bean indexId=index bean:write name=list property=orderItemVO attribute name.Products value object attribute name/ Hope this solves u r problem Thanks, Nadeem, Wipro Technologies,Chennai Tel - 91-44-4500200 X : 2111 Mobile : 98401 47663 -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 5:31 AM To: Struts Users Mailing List Subject: RE: Value Object in a Collection Both orderItemVO and Products are Value objects. Since orderItemVO is a collection of value objects , it's not a problem to iterate through But the inner value object (products) is not a collection to iterate through which caused the problem. products value object properties are...getters and setters for productName, unitOfPrice, qty, price etc. Similarly orderItemVO contains getters and setters for products(Value Object), orderNumber, shipSerial etc.,... In the Action bean I'm getting the orderItemVO's as a collection from server layer ..and setting it to the form ...same being iterated in JSP... Thanks in Advance! for any help on this. Mahesh! Mei Zhu [EMAIL PROTECTED] wrote:So what does the products value object looks like, and what type of elements do you want to iterate through in the inner iterate? Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:43 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection What you thought was right!! . OrderItemVO contains getters and setters out of which one getter is again a Value Object(products) like OrderItemVO. That is where it is causing problem. If I dont specify the inner loop it is displaying all the properties in products value object, which I don't need except a few properties to display. If the products is a collection then I would have not had any problem, but it is value object and to apply for iterate tag, its looking for collectionbut products value object is not a collectionhere is the problem Any light on thisappreciate your response. mahesh! Mei Zhu wrote:Can you send me the definition of your OrderItemVO? I imagine OrderItemVO has method getPartNo() and getProducts() to get a list of products which you want to print out in your inner loop. If that's the case, in your inner iterate you need to specify property=products. It will help to do one step a time, try to comment out the inner iterate with , if it works ok for the outer iterate, that the problem is from the inner iterate. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 3:08 PM To: Struts Users Mailing List Subject: RE: Value Object in a Collection Following is the correct code implementing in my application..Please advice me...I tried by removing property ...but not working... property=reqCollection indexId=parentIndex id=productVO type=com.valueobject.OrderItemVO indexId=childIndex id=prod Mei Zhu wrote:If your outer iterate loops through a collection of java.util.List, in your inner iterate, you should not specify property attribute. Mei -Original Message- From: neelima mahesh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 2:42 PM To: [EMAIL PROTECTED] Subject: Value Object in a Collection Hi all, I'm new to this technology, I wanted to use only iterate tags to display the information. While iterate a collection in a JSP, need to display a Value Object's information. Following is the approach i've followed but in vain. property=parentProperty indexId=parentIndex //arbitrary name id=parent //arbitrary name type=java.util.List property=childProperty indexId=childIndex //arbitrary name id=child //arbitrary name type=valueobjectVO // etc. and i'm getting the following error javax.servlet.ServletException: Cannot create iterator for this collection, stack: javax.servlet.ServletException: Cannot create iterator for this collection at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:453) Thanks in Advance! appreciate any help in this regard. mahesh. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Yahoo