This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "create dynamic table in struts application" Watch "create dynamic table in struts application" New topic

create dynamic table in struts application

nanda gopal

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

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.


to err is human, but the company policy doesn't allow it!
It is sorta covered in the JavaRanch Style Guide.
subject: create dynamic table in struts application
It's not a secret anymore!