File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create dynamic table in struts application

 
nanda gopal
Greenhorn
Posts: 2
  • 0
  • 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
  • 0
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic