Please Help me its urgent. Thanks
Like I said: you're trying to access the list itself, not each item in the list:See how you're using the word "list" there? The list is the list. Each *item* in the list is "details", because that's what you defined it to be in the c:forEach tag.
David Newton wrote:Please post your current code (in a new message). If you use the "var" attribute (set it to something like "details", not "myList", which implies each object is a list) and output myList.firstName it should work. Chances are you're either not retrieving the attribute you think you are, or you're not using the var attribute correctly.
See the difference? It's property access, not calling a method. (Update the variable names to whatever you're using now.)
Really, the code tags are easy; "[code]". Just like that. Except for the end tag, which has a slash.