How to Create Multi record Data Entry form in Java ?
1 posts in topic
Flat View  Flat View

Posted By:   zubair_ahmed
Posted On:   Thursday, March 28, 2002 11:28 PM

Hi I have this situation where i have to create a multi record data entry screen, some thing similar to a spread sheet. This screen should allow add/update/query and deletion of records. This we can achieve easily in VB or D2K forms.However i would like to know if we can do this in Java. Could anyone plz guide me abt this? Is Code available anywhere?? Thanx in advance

Re: How to Create Multi record Data Entry form in Java ?

Posted By:   Ted_Husted  
Posted On:   Saturday, April 6, 2002 06:29 AM

The three things you can do in a Web application are

Create a form for each row, and put an
add/update/query/delete control next to each

Create a single form, and give each element for each row a unique name

Create a single form, using the same name for each element

Struts can handle the latter case by using an array for each element. You can then loop
the entries in each array to reconstruct the form.

Stuts 1.1 beta exposes a counter for the interate tag, which makes it easier to
contsruct unique names for each element in each row.

A fourth option is to use an Java applet instead of a HTML form, but that's outside the
scope of this forum.

Multirecord data entry screens are general Web programming problem, and also very
challenging. Your best source of information will be a book on advanced Web
development. Once a specific technique is chosen, it would be much easier to answer the
question of how to realize it in Struts.

HTH, Ted

About | Sitemap | Contact