Dean:

Oh, Ok, I think i see what your issue is now (shouldn't have hit that earlier
"send" so fast..!)  Ok, in the action before you forward to the jsp, populate
your countries variable.  Then set your session variable (in your Action
class), say, session.setAttribute("countries", countries); (though i still
wonder about making this a session var.. anyway..).

In your jsp then you can simply say:
<bean:define id="allCountries" name="countries" scope="session"
type="java.util.Collection" />

You should then be able to access the "allCountries" Collection further down
in your jsp..

Hope this helps,
Geeta

> > that creates what it needs to. Now what I need to figure out is
> > the best way to instantiate the "countries" variable in the session.
> > I think it might be by using the bean:define tag, but I am not
> > sure. Has anyone done this before?
> >
> > Thanks.
> > Dean
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to