wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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!
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: create dynamic table in struts application
Similar Threads
Adding Dynamic Datatable to Panel Grid
dynamic page
Creating of dynamic jsp
Access DAO Attributes?
Need suggestions and help for my scenario in struts