Thanks Gregg for your reply.
I have done all these things already(getters and setters for fields) whatever you are saying.
I have a list object from which i want information in different columns.
In one column i want Name containing firstname and lastname attributes.
Tell me syntax for that how can i do that using display tag?
Same i have getters and setters for set also.But how can i calulate its size in column.I want syntax of display tag for that.
You need to read my first reply to you. That is your answer. I don't know what else to tell you to help you understand. I wasn't asking why you are using Display Tag. I was asking why you still aren't understanding what you need to do, since I already told you with code examples. Just read what I wrote again, add the code for getName() which returns your first and last name concatenated. Add a getter method that returns your replies.size().
Add those properties as columns to your display tag. Again, I showed you all the code you need.
Joined: May 21, 2008
I am really sorry.I thought you are telling me to write getters and setters to firstname and lastname ..so i didnt read your first reply completely.Now my problems got solved.Thanks again for your help.
Can you reply for my second problem .
Again i have added display tag jar in lib.
Do i need to add something in my web.xml file ?Because when i try to add <cut>
its showing me error as unknown tag.