Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create dynamic table in struts application

 
nanda gopal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic