aspose file tools*
The moose likes Struts and the fly likes create dynamic table in struts application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "create dynamic table in struts application" Watch "create dynamic table in struts application" New topic
Author

create dynamic table in struts application

nanda gopal
Greenhorn

Joined: May 30, 2007
Posts: 2
Hi ,

I am new to Struts i like to create dynamic table in my jsp page, i get dynamic table size and values from my action handler class. i don't know how to set that values in to my jsp page. Any body please help me.
mohit bahl
Ranch Hand

Joined: Mar 22, 2006
Posts: 48
hi,

i assume here that the data that you want to display on the screen is in the form associated with the action that handled the request.

for display you can use an iterate tag provided by struts and in that the dynamic data can be fetched from the form and the <tr> and <td> can be set according to the structure you want for display.

cheers!
mohit


to err is human, but the company policy doesn't allow it!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: create dynamic table in struts application