File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Regarding dynamic table generation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regarding dynamic table generation" Watch "Regarding dynamic table generation" New topic

Regarding dynamic table generation

LakshmiNarayana vishnu
Ranch Hand

Joined: Aug 03, 2006
Posts: 39
Hi friends,
I have one table with 5 fields and i have a one "Add" button down to that table.After Click on add buttion automatically one pop window will come and we will enter values for fields..When i submit that popup window it will store values in next row....finally i will click on submit button for page..Then values will go to Database and have to store...

Please give some Ideas with sample code As Early As Possible... Today i have to finish that work at any cost...

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
You will need to use "indexed properties" for this. You will find a more complete explanation of what indexed properties are along with sample code by looking at question 6 in the JavaRanch Struts FAQ.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Regarding dynamic table generation
It's not a secret anymore!