You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Henry Lu <zh...@umich.edu> on 2002/02/14 15:23:16 UTC
session beans
How to set/get session beans in a formaction program? Could you show me an
example with a code?
Thanks,
---------------------------------------------------------------------------
Henry Lu
MCIT phone: (734) 936-2063
University of Michigan Medical Center fax: (734) 763-4372
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: session beans
Posted by Sid Stuart <si...@aynot.com>.
FilterBean filter = (FilterBean) session.getAttribute
(FilterBean.FILTERBEAN_KEY);
if (filter == null) {
log.info ("Creating Filter");
session.setAttribute (FilterBean.FILTERBEAN_KEY, new FilterBean
());
}
Henry Lu wrote:
> How to set/get session beans in a formaction program? Could you show me an
> example with a code?
>
> Thanks,
>
> ---------------------------------------------------------------------------
> Henry Lu
> MCIT phone: (734) 936-2063
> University of Michigan Medical Center fax: (734) 763-4372
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>