struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam J Samere <asam...@rochester.rr.com>
Subject Re: Session scope Form
Date Wed, 27 Sep 2006 15:18:39 GMT
You can remove a form from the session the same way you your remove any 
session scoped attribute. 
request.getSession(false).removeAttribute(mapping.getName());

You are usually better off letting the Struts framework instantiate and 
initialize the form for you. Particularly with Dynamic Form Beans.

Adam

Matts wrote:
> Hi, I have a session scoped form and I want to destroy it and create for creating a new
one in a certain action. How can I perform this???
>
>
>   



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


Mime
View raw message