Hey Yadnesh,

that's pretty easy. You just keep a List in your form bean, containing the
java beans, which keep the data for each line. In the JSP you just iterate
over that List, accessing the beans. I'm doing that all the day...

Did you take a look in the tutorials?

Regards,
Bernhard

-----Ursprüngliche Nachricht-----
Von: Yadnesh Chonkar [mailto:ychonkar@;NEXGENIX.com]
Gesendet: Donnerstag, 14. November 2002 16:31
An: Struts Users Mailing List
Betreff: Fetching Data Using Struts!!!


Though struts is good MVC framework. But guys correct me if i am wrong. The
data fetching mechanism works only for simple screens, for complex screens
it goes for a toss.

eg
Consider following screen, where user enter multiple data.

EmpId           Name            Gender                  Married?
textbox textbox (2 radio buttons m/f)   1 checkbox
textbox textbox (2 radio buttons m/f)   1 checkbox
textbox textbox (2 radio buttons m/f)   1 checkbox
textbox textbox (2 radio buttons m/f)   1 checkbox
textbox textbox (2 radio buttons m/f)   1 checkbox


                                                                        Save
button

Please elaborate as whats the best way to fetch this data using struts!!

Yadnesh

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to