Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creaing a JSP dynamically based on the input

User_19BPUJan 19 2011 — edited Jan 20 2011
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2011
Added on Jan 19 2011
16 comments
282 views