I don't know what is your applications's architecture, but I think the
Iterate tag could accomplish this. You could set a Collection of questions
in the Action Form and let it pick them up in the JSP.
If you have something like a bean "Question" with some properties set, this
could be very easy to do.
Andrea
-----Original Message-----
From: Zeltser, Mark [mailto:[EMAIL PROTECTED]]
Sent: mercoledì 25 ottobre 2000 17.21
To: [EMAIL PROTECTED]
Subject: How to create bean from dynamic JSP page
Hello,
We are trying to migrate existing application from JSP/Servlets to
struts. I have a JSP page which should display dynamically different
questions. I don't know how to create a form bean with all
setters/getters since I don't know in advance all the names. Anyone
knows how to accomplish this?
Thanks, Mark.