This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Before forwarding to the JSP, your action class must create a scoped variable using the list. Something perhaps like:
Then in the JSP you can use:
Joined: Oct 09, 2007
Hi, thank you very much for your reply. my list is generally a java1.5 list,like List<DTO> & from this list i need to get the DTO objects ,so will <c:forEach will only get the values from the DTO .in general we will have fields & corresponding setter & getters.
in normal we will do like for(DTO dto:List list) & it will get the dto objects,
So can anyone let me know,how will c:forEach approach my requirement.