aspose file tools*
The moose likes Struts and the fly likes iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "iterate" Watch "iterate" New topic
Author

iterate

Narendra Kumar Pinnaka
Greenhorn

Joined: Jul 05, 2007
Posts: 9
Hi
i am using Struts 1.1.
i have list of dto. in jsp i have to display the dto based on the index

sample java code
int n = 3;

sampleDTO = (SampleDTO)mylist.get(n);

i need to display sample dto

can you please let me know apporiate tag i can use.

thanks in advance
Zip Ped
Ranch Hand

Joined: Jul 26, 2005
Posts: 336
You can use the indexId attribute of the logic:iterate tag.
Narendra Kumar Pinnaka
Greenhorn

Joined: Jul 05, 2007
Posts: 9
can you expalin it clearly
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iterate