The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


is it a good practice....

Posted by vande on December 22, 2000 at 6:38 AM

I have a form in which if i select a option from a list box,then corresponding information should be displayed in the textfields in the same form. These values are to be generated from the database(I am using JSP).
Presently, to overcome this, i split the above form into two forms wherein depending on the value selected in the first form, i am displaying the information from the database in the second form.Is there is any possibility that i can generate the values in the same form?

And my second question is whether it is a good practice to create session objects to pass information from one form to the second one and then submit the whole data to the database at a time,instead insert data in the two forms into database separately.

  • Depends... Kishori Sharan December 22, 2000 at 9:46 AM (0)

Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us