RE: remove ActionForm from session

2006-03-13 Thread Bourgon, Jean-Francois
Something like the following should do the job... request.getSession().removeAttribute("action_form_name"); Jeff -Original Message- From: Markus Demetz [mailto:[EMAIL PROTECTED] Sent: Saturday, March 11, 2006 6:05 AM To: Struts Mailing List Subject: remove ActionForm from se

Re: remove ActionForm from session

2006-03-12 Thread Ed Griebel
If you don't need to access it in your JSP page, you can do 'request.getSession().removeAttribute("myFormBean");' If your JSP needs the form, at the end of the JSP page you can put ''. You will have to include the proper taglib as well, google "c:set" for more information. -ed On 3/11/06, Markus

Re: remove ActionForm from session

2006-03-11 Thread Michael Jouravlev
On 3/11/06, Markus Demetz <[EMAIL PROTECTED]> wrote: > Hi all, > > i have some ActionForms which I declared with a session scope. This because > I validate them over more steps. > > After a completed task (i.e. registration) I would like to remove them to > keep session small. > > is there a simple

remove ActionForm from session

2006-03-11 Thread Markus Demetz
Hi all, i have some ActionForms which I declared with a session scope. This because I validate them over more steps. After a completed task (i.e. registration) I would like to remove them to keep session small. is there a simple way to do that? thanks! markus