struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: session form bean reuse
Date Mon, 02 Dec 2002 17:02:26 GMT


On Mon, 2 Dec 2002, Mark Lepkowski wrote:

> Date: Mon, 02 Dec 2002 09:21:42 -0500
> From: Mark Lepkowski <Mark.Lepkowski@lmco.com>
> Reply-To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> To: Struts Users Mailing List <struts-user@jakarta.apache.org>
> Subject: Re: session form bean reuse
>
> How do you get session A information available to session B without persisting it somehow
(the HttpSessionContext interface is depracated in Java Servlet API v2.1for security reasons...)?
>   Struts will not itself reuse form bean instances across sessions (although
>   your application could copy one if it really wanted to).
>
>

Use servlet context attributes to share information between all the
sessions in your webapp.

Craig



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message