This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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
 
It's not a secret anymore!