• Post Reply Bookmark Topic Watch Topic
  • New Topic

Iterating an arrayList Inside iteration of the other arrayList

Abhishek Kumar
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a arrayList parentList and another arrayList ChildList i will render the contents of childList below Each row of parenList only when the startTime Field of the childList is greater than the startTime of the parentList and the endTime of the child List is less than the endTime of t he parent List.

I tried but it got a bit problem.Plz check it.I seriously need help.

The main problem is when i am comparing the start time of the child with the parent the statement is

<bean:greaterThan name="childList" property="startTime" value="???(This one is only puzzling me)">

Here is the jsp code:--

I tried to post the jsp which included struts but was not allowed to becoz of "<" symbols.If u want i can sent in ur personal mailIds.

Please help me.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!