Hi Lisa, Best practice for a database access is, to hide these things in a seperate business object. This object can be invoked from the action class, from which you can set all the properties in the form bean (something like "form.setProperty(...);". With this approach, you get a proper MVC application, and it is easier to reuse your components.
Marcel -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 4:47 PM To: [EMAIL PROTECTED] Subject: Initializing ArrayList used by options tag Hi, I have an ArrayList which I use to populate the options on one of my JSP pages. Where is the best place to initialize this ArrayList? At the moment I am making database calls from within my form bean, so that when the form is initialized the values will be present. Should I be doing this from within my Action class? I guess my question is whether or not there are any complications doing it the way I am doing it. Thanks alot for your speedy response. Lisa _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp