I have a list of items in DB: ITEMS contain rows ID and NAME I would like to know what is the recommended way to have a form that lets the user select an option from the database list of items and when the uses clicks the preview action the selected item is shown prior to the last action of confirmation.
Should I get the list of items from the form? (setting it in the form does not make sense to me as a form is just for user input and that list is not user input) Or from the action? (request.setAttribute()) (setting them from the action associates that list with a view and I am only supposed to let the controller know what to do next not what view to display) Or from any other place? Could someone show me the recommended way on how to do it showing me the Form(s), Actions and struts-config.xml? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]