I have two class files, one is a user interface class that reads information from a form on submit, the other accesses a database. The purpose of the application is to take the information from a user, add it to a database and return data from the database to the user. The user interface class correctly reads input from the user and returns (echoes) information to the user using RequestDispatcher. The database class correctly inserts and selects data from the database. My question is how to pass the information between class instances, i.e. pass user input from the user interface class to the database class and pass data from the database class to the user interface class. I would like to know what methods to use or some direction to pursue i.e. instantiate a bean with the result set, pass an ArrayList as a parameter, put everything in one class (least preference). Also, Any discussion of scope and/or persistence or other topics pertaining to this task that I can research further. TIA. Anyone wishing to learn more about this application as an exercise can e-mail me directly. Neill Laney ( [EMAIL PROTECTED] ) http://home.nc.rr.com/nlaney ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
