aspose file tools*
The moose likes Struts and the fly likes how to create input fields dynamically in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to create input fields dynamically in struts" Watch "how to create input fields dynamically in struts" New topic
Author

how to create input fields dynamically in struts

srikanth Thandra
Ranch Hand

Joined: Mar 04, 2009
Posts: 42

Dear All,

I have a requirement in which i have to create input fields like text,radio button etc.. dynamically in jsp using struts framework?

Normally we define input fields using form-bean and configure in struts-config.xml file. But what i required is that the form-bean should be created dynamically.

For this which one is better whether DYNAACTIONFORM or LAZYDYNAACTIONFORM ? can anyone explain briefly with example or link me the examples site where i can found the difference?

Also one more query? How to populate the dynamically created form-bean with the values from the database.

waiting for the suggestions...
with Regards,
Srikanth.T


Thanx in advance,
Srikanth
 
jQuery in Action, 2nd edition
 
subject: how to create input fields dynamically in struts