wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create input fields dynamically in struts
 
Similar Threads
Query in Action Form
How does struts handle dynamic forms that grow and its retrieval?
Struts : Dynamic HTML form parameters
how form bean can be mapped in struts for dynamic html generation?
Dynamic select fields need to add in jsp page