HI,
I am facing one issue regarding following scenario.
I am getting one array list to jsp page .I am using Jstl (<c:foreach>) for looping through Arraylist. But Arraylist contains Dto which intern contains Arraylist of Vo(value objects)
Problem : I am not able to access Arraylist which is available in Dto.
Have you written the getter and setter methods for the voList in the PresentationListDTO class?
Omar Al Kababji
Ranch Hand
Joined: Jan 13, 2009
Posts: 357
posted
0
when you use the "." operator in EL language the first item should be a Bean or a Map however i think that PresentationListDTO is neither one, so i would suggest to use the [ ] operators to access it.
Omar Al Kababji - Electrical & Computer Engineer
[SCJP - 90% - Story] [SCWCD - 94% - Story] [SCBCD - 80% - Story] | My Blog
when you use the "." operator in EL language the first item should be a Bean or a Map however i think that PresentationListDTO is neither one, so i would suggest to use the [ ] operators to access it.
If PresentationListDTO was not a bean then it would have thrown error at this line itself
Am I right?
Omar Al Kababji
Ranch Hand
Joined: Jan 13, 2009
Posts: 357
posted
0
Yes unless you have a getRequest in PresentationListDTO.
but here is another question what is the type of voList ?