Creaing a JSP dynamically based on the input
Hi,
From my JSP , im getting a customerId, i am passing this to the db, based on this customerId i am gonna retrieve various fields labels like for the custid 100, i will get the fields custname,address,state. For CUSTID 200, i might be getting a completely different set of fields like custcomments, custdesc, custcountry, etc. Hence based on the custId the labels which i fetch from the DB will vary. Hence I cannot have a concrete form in struts , in such case where I can set those labels retrived & dynamically display that in the JSP? whether DynaActionForm will be of any help here? Please suggest your opinion on this?
Thanks.