wood burning stoves 2.0*
The moose likes Struts and the fly likes dynamic list in struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "dynamic list in struts 2" Watch "dynamic list in struts 2" New topic
Author

dynamic list in struts 2

stefano biondi
Greenhorn

Joined: Dec 04, 2010
Posts: 5
i'm using s:iterator e display:table to view my list

now i have a problem

there is a dynamic list for which i don't know the number and the name of columns so i have to build the table when i get the info; a solution could be write a dynamic table using code java in the jsp

it's not very good to see but it works (i have not written the code but it seems easy)

now i ask: it is possible to make that using s:iterator e display:table?

thanks
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8867
    
    8

Are you asking how to output a table using an iterator tag or how to integrate Struts with display tag?


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
stefano biondi
Greenhorn

Joined: Dec 04, 2010
Posts: 5
Joe Ess wrote:Are you asking how to output a table using an iterator tag or how to integrate Struts with display tag?


my problem was to use dinamically s:iterator, a very stupid problem, i have solved

thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dynamic list in struts 2