> Is it better to store these Lists in the form or send them in request
scope
> individually?  I have put them in the form, but it seems somewhat wrong
> since these Lists are extraneous information and not representative of the
> actual form.  That is, they do not capture back any info from the user.
> They are simply utility helpers to populate lists.
> Isn't the actionForm supposed to represent only the item the form is
> supposed to represent?

I put Maps (to be used as the contents of drop-down lists, with data taken
from a database) into application scope using a ServletContextListener
because every user will see the same list of choices.  If your lists are
user-specific, then perhaps session or request scope would be more
appropriate.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

Reply via email to